resize_image
Adjust image dimensions precisely by specifying width, height, and fit options. Maintain aspect ratio or customize fit for desired output. Save resized images in supported formats.
Instructions
Resize an image to specified dimensions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fit | No | How the image should be resized to fit | cover |
height | No | Target height in pixels | |
inputPath | Yes | Path to input image | |
outputPath | Yes | Path to save resized image | |
preserveAspectRatio | No | Maintain original aspect ratio | |
width | No | Target width in pixels |