Skip to main content
Glama

mcp-image-downloader

by qpd-v

optimize_image

Optimize image size, quality, and dimensions by specifying height, width, and output path to improve performance and storage efficiency.

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" }

You must be authenticated.

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