Skip to main content

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

PropertyTypeDescription
name?stringUnique Source name (for easier identification).
pathstringImage file path.
stretchToOutputSize?booleanWhether 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?SourceTransformOptionsTransform options for the source.