Class CameraStillSettings
Defines a wrapper for the raspistill program and its settings (command-line arguments).
Inherited Members
Namespace: Unosquare.RaspberryIO.Camera
Syntax
public class CameraStillSettings : CameraSettingsBase
Properties
CaptureDisplayPreviewAtResolution
Gets or sets a value indicating whether the preview window (if enabled) uses native capture resolution This may slow down preview FPS.
Declaration
public bool CaptureDisplayPreviewAtResolution { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
CaptureEncoding
Gets or sets the encoding format the hardware will use for the output.
Declaration
public CameraImageEncodingFormat CaptureEncoding { get; set; }
Property Value
Type | Description |
---|---|
CameraImageEncodingFormat |
CaptureJpegExtendedInfo
JPEG EXIF data Keys and values must be already properly escaped. Otherwise the command will fail.
Declaration
public Dictionary<string, string> CaptureJpegExtendedInfo { get; }
Property Value
Type | Description |
---|---|
Dictionary<String, String> |
CaptureJpegIncludeRawBayerMetadata
Gets or sets a value indicating whether the JPEG encoder should add raw bayer metadata.
Declaration
public bool CaptureJpegIncludeRawBayerMetadata { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
CaptureJpegQuality
Gets or sets the quality for JPEG only encoding mode. Value ranges from 0 to 100.
Declaration
public int CaptureJpegQuality { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
CommandName
Gets the command file executable.
Declaration
public override string CommandName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
HorizontalFlip
Gets or sets a value indicating whether [horizontal flip].
Declaration
public bool HorizontalFlip { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
Rotation
Gets or sets the rotation.
Declaration
public int Rotation { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | Valid range 0-359. |
VerticalFlip
Gets or sets a value indicating whether [vertical flip].
Declaration
public bool VerticalFlip { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
Methods
CreateProcessArguments()
Creates the process arguments.
Declaration
public override string CreateProcessArguments()
Returns
Type | Description |
---|---|
String | The string that represents the process arguments. |