MCP Media Processing Server

compress-image

Compress PNG image using ImageMagick

Input Schema

NameRequiredDescriptionDefault
inputPathYesAbsolute path to input PNG image
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
qualityNoCompression quality (1-100)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "inputPath": { "description": "Absolute path to input PNG image", "type": "string" }, "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" }, "quality": { "default": 80, "description": "Compression quality (1-100)", "maximum": 100, "minimum": 1, "type": "number" } }, "required": [ "inputPath" ], "type": "object" }