Skip to main content
Glama

Imagician

by flowy11

compress_image

Reduce image file size without compromising quality by specifying input and output paths, compression quality, and progressive encoding for JPEGs.

Instructions

Compress an image with quality settings

Input Schema

NameRequiredDescriptionDefault
inputPathYesPath to input image
outputPathYesPath to save compressed image
progressiveNoUse progressive encoding (for JPEG)
qualityNoCompression quality (1-100)

Input Schema (JSON Schema)

{ "properties": { "inputPath": { "description": "Path to input image", "type": "string" }, "outputPath": { "description": "Path to save compressed image", "type": "string" }, "progressive": { "default": true, "description": "Use progressive encoding (for JPEG)", "type": "boolean" }, "quality": { "default": 80, "description": "Compression quality (1-100)", "maximum": 100, "minimum": 1, "type": "number" } }, "required": [ "inputPath", "outputPath" ], "type": "object" }

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/flowy11/imagician'

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