ImageCaptureSourceSettings
Electron APIs / recorder / ImageCaptureSourceSettings
Settings for capturing a static image as a source.
Extends CaptureSourceSettings with image-specific options such as file path.
See
CaptureSourceSettings
Extends
Properties
| Property | Type | Description |
|---|---|---|
name? | string | Unique Source name (for easier identification). |
path | string | Image file path. |
stretchToOutputSize? | boolean | Whether the capture source should be centered and stretched to fit the output video size. When set to true, the source will automatically scale and center itself to match the output resolution, even if it requires stretching. Default true (if transform is not provided). |
transform? | SourceTransformOptions | Transform options for the source. |