Skip to main content
Glama

Image Processing MCP Server

by duke0317

convert_format

Convert image formats, including PNG, JPEG, WEBP, BMP, TIFF, and GIF, with adjustable quality for JPEG. Ideal for transforming image data or file paths into desired formats on the Image Processing MCP Server.

Instructions

转换图片格式

Input Schema

NameRequiredDescriptionDefault
image_sourceYes图片源,可以是文件路径或base64编码的图片数据
qualityNo图片质量,范围 1-100,仅对 JPEG 格式有效
target_formatYes目标格式:PNG、JPEG、WEBP、BMP、TIFF、GIF 等

Input Schema (JSON Schema)

{ "properties": { "image_source": { "description": "图片源,可以是文件路径或base64编码的图片数据", "title": "Image Source", "type": "string" }, "quality": { "default": 95, "description": "图片质量,范围 1-100,仅对 JPEG 格式有效", "maximum": 100, "minimum": 1, "title": "Quality", "type": "integer" }, "target_format": { "description": "目标格式:PNG、JPEG、WEBP、BMP、TIFF、GIF 等", "title": "Target Format", "type": "string" } }, "required": [ "image_source", "target_format" ], "title": "convert_formatArguments", "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/duke0317/ps-mcp'

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