image_resize
Resize images to specified width and height, fitting within dimensions without enlarging. Supports common image formats and files up to 50 MB.
Instructions
Resize image. Change the dimensions of a photo or picture. Fits within your numbers without enlarging. Accepts image/*, .heic, .heif, .avif; up to 50 MB per file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | How to fit: without enlarging, cropping, or with padding | inside |
| paths | Yes | Paths to the files to process, absolute or relative to the working directory. | |
| width | No | Width in pixels | |
| format | No | Output format. «As is» keeps the original | same |
| height | No | Height in pixels | |
| quality | No | Quality, 1–100 | |
| outputDir | No | Where to put the results. Defaults to the folder each source file came from. Existing files are never overwritten. |