image_resize
Resize an image to specified width and height. Supports local file path or base64 input, with optional proportional scaling when height is omitted.
Instructions
Resize an image to specific width and height dimensions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Target width in pixels. | |
| height | No | Target height in pixels. If omitted, scales proportionally. | |
| fileData | No | Base64 encoded image data. | |
| filePath | No | Local path to the image file. | |
| outputPath | No | Optional local path where the resized image should be saved. |