image_save_to_disk
Saves the specified image to a file on disk.
arguments
- "filename" : String
The path and filename of the image to write out relative to content_root.
- "format" : String (default: "mig")
The image format to save the file in.
- "image_name" : String
The name of an existing Image element in the database to write out.
- "pixel_type" : String (default: "Rgba")
The pixel type used when saving the file.
- "quality" : String (default: "90")
The quality used when saving the file if supported by the format.
- "separate_layers" : Boolean (default: false)
If true then the image will be written out as individual layers. Each file will have the layers index appended to its filename before the extension. Has no effect if the image only has a single layer.