create_thumbnail
Generate square thumbnails from images by resizing them to fit within a specified pixel dimension while preserving aspect ratio.
Instructions
Create a square thumbnail from an image.
The image is resized to fit within a square of the given size, preserving aspect ratio.
Args: path: Absolute path to the image file. size: Thumbnail size in pixels (default 256). Creates a size x size bounding box. output_path: Where to save. Defaults to _thumb..
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| size | No | ||
| output_path | No |