Skip to main content
Glama

image-reader MCP Server

by Rupeebw

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

NameRequiredDescriptionDefault
fitNoFit method: cover, contain, fill, inside, outside
heightNoTarget height in pixels (optional)
inputYesPath to the input image file
outputYesPath to save the resized image
widthYesTarget width in pixels

Input Schema (JSON Schema)

{ "properties": { "fit": { "description": "Fit method: cover, contain, fill, inside, outside", "enum": [ "cover", "contain", "fill", "inside", "outside" ], "type": "string" }, "height": { "description": "Target height in pixels (optional)", "type": "number" }, "input": { "description": "Path to the input image file", "type": "string" }, "output": { "description": "Path to save the resized image", "type": "string" }, "width": { "description": "Target width in pixels", "type": "number" } }, "required": [ "input", "output", "width" ], "type": "object" }

Other Tools from image-reader MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Rupeebw/mcp-image-reader'

If you have feedback or need assistance with the MCP directory API, please join our Discord server