image_thumbnail
Create a thumbnail that fits within a square of a specified size while preserving the original aspect ratio.
Instructions
Make a thumbnail that fits inside a square of the given size, keeping the aspect ratio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| overwrite | No | ||
| input_path | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| format | Yes | ||
| height | Yes | ||
| output_path | Yes | ||
| output_bytes | Yes | ||
| max_dimension | Yes | ||
| original_size | Yes |