resize_image
Resize images to specified dimensions and save them to a new file. Accepts target width, height, and fit options like cover, contain, fill, inside, or outside. Part of the image-reader MCP Server.
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 |