MCP Media Processing Server

resize-image

Resize images to specified dimensions with customizable width, height, and aspect ratio settings. Save outputs to a designated path or default folder for streamlined image processing workflows.

Instructions

Resize image to specified dimensions

Input 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

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "height": { "description": "Target height in pixels", "type": "number" }, "inputPath": { "description": "Absolute path to input image file", "type": "string" }, "maintainAspectRatio": { "default": true, "description": "Whether to maintain aspect ratio when resizing", "type": "boolean" }, "outputFilename": { "description": "Output filename (only used if outputPath is not provided)", "type": "string" }, "outputPath": { "description": "Optional absolute path for output file. If not provided, file will be saved in Downloads folder", "type": "string" }, "width": { "description": "Target width in pixels", "type": "number" } }, "required": [ "inputPath" ], "type": "object" }

You must be authenticated.

Other Tools from MCP Media Processing Server

Related Tools

ID: b1zqwbyrzm