Skip to main content
Glama

resize-image

Resize images to specified dimensions with optional aspect ratio preservation using the MCP Media Processing Server. Input file path and target width/height are required, with output file saving flexibility.

Instructions

Resize image to specified dimensions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
heightNoTarget height in pixels
inputPathYesAbsolute path to input image file
maintainAspectRatioNoWhether to maintain aspect ratio when resizing
outputFilenameNoOutput filename (only used if outputPath is not provided)
outputPathNoOptional absolute path for output file. If not provided, file will be saved in Downloads folder
widthNoTarget width in pixels

Other Tools

Related Tools

Latest Blog Posts

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/maoxiaoke/mcp-media-processor'

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