siril_get_preview
Preview the current Siril image or a selected region as an autostretched 8-bit PNG, with adjustable output size and linked stretch.
Instructions
Return an 8-bit autostretched preview of the current Siril image (or a ROI).
Args: max_edge: Maximum width or height of the returned PNG. x, y, w, h: Optional ROI in image pixel coordinates (omit all for full image). linked: Use linked autostretch when True. save_debug_copy: Also write a PNG under Application Support for debugging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | ||
| w | No | ||
| x | No | ||
| y | No | ||
| linked | No | ||
| max_edge | No | ||
| save_debug_copy | No |