resize_image
Adjust image dimensions by specifying width, height, and fit method. Save the resized image to a designated path for optimized file management.
Instructions
Resize an image and save to a new file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fit | No | Fit method: cover, contain, fill, inside, outside | |
height | No | Target height in pixels (optional) | |
input | Yes | Path to the input image file | |
output | Yes | Path to save the resized image | |
width | Yes | Target width in pixels |