save_image
save_imageSave an image view to disk in XISF, FIT, TIFF, PNG, or JPG format, with optional bit depth. Output is restricted to the work directory to protect source files.
Instructions
Save a view to disk. Format by extension: .xisf (lossless, recommended), .fit, .tif, .png, .jpg. bit_depth 8/16 for tif/png. Output must be under the workdir (never in source folders).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| path | No | Default: <session>/work/<id>.xisf | |
| format | No | ||
| bit_depth | No | ||
| overwrite | No |