Skip to main content
Glama

mcp-image-downloader

by qpd-v

optimize_image

Optimize images by resizing and adjusting quality to reduce file size while maintaining aspect ratio. Specify input and output paths, target dimensions, and compression settings for efficient image management.

Instructions

Create an optimized version of an image

Input Schema

NameRequiredDescriptionDefault
heightNoTarget height (maintains aspect ratio if only height is specified)
inputPathYesPath to the input image
outputPathYesPath where to save the optimized image
qualityNoJPEG/WebP quality (1-100)
widthNoTarget width (maintains aspect ratio if only width is specified)

Input Schema (JSON Schema)

{ "properties": { "height": { "description": "Target height (maintains aspect ratio if only height is specified)", "type": "number" }, "inputPath": { "description": "Path to the input image", "type": "string" }, "outputPath": { "description": "Path where to save the optimized image", "type": "string" }, "quality": { "description": "JPEG/WebP quality (1-100)", "maximum": 100, "minimum": 1, "type": "number" }, "width": { "description": "Target width (maintains aspect ratio if only width is specified)", "type": "number" } }, "required": [ "inputPath", "outputPath" ], "type": "object" }

Other Tools from mcp-image-downloader

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/qpd-v/mcp-image-downloader'

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