thumbnail
Create a downscaled preview with a maximum side length, writing to a new file while leaving the source untouched. Ideal for contact sheets or small previews.
Instructions
Create a downscaled preview whose longest side is at most 'size' pixels (aspect ratio preserved), writing it to a NEW file (source unchanged). Ideal for generating small previews or contact sheets. Returns the output path and the max-side constraint applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | Output image path. A new file is created; the source is left untouched. | |
| path | Yes | Source image path. | |
| size | Yes | Maximum length, in pixels, of the longest side of the thumbnail. |