Skip to main content
Glama

image-reader MCP Server

by Rupeebw

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

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" }
Install Server

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