save_source_screenshot
Capture a screenshot of any OBS source or scene and save it to a local file. Set image format, dimensions, and compression quality as needed.
Instructions
Save a screenshot of a source (input or scene) directly to disk.
Args: source_name: Name of the input or scene to capture. image_file_path: Absolute path to save to, e.g. C:/renders/shot.png. image_format: e.g. "png", "jpg". image_width/image_height: Optional scale-to-fit dimensions (8-4096). image_compression_quality: 0 (max compression) to 100 (uncompressed), -1 for format default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_width | No | ||
| source_name | Yes | ||
| image_format | No | png | |
| image_height | No | ||
| image_file_path | Yes | ||
| image_compression_quality | No |