image_convert
Convert, resize, or rotate an image to a new file. Determines format by output path suffix; apply max dimension and rotation as needed.
Instructions
Convert/resize/rotate an image into a NEW file — format by out_path suffix (png/jpg/webp/gif/bmp/tiff), optional max_dim bound on the long edge, rotation in 90° steps. Refuses an out_path that collides with the input (charter).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_dim | No | ||
| quality | No | ||
| out_path | Yes | ||
| rotate_deg | No |