Skip to main content
Glama

Image Converter MCP Server

convert_image

Convert image files to formats like JPG, PNG, WebP, GIF, BMP, TIFF, SVG, and ICO, adjust dimensions, quality, and maintain aspect ratio for optimal output.

Instructions

将图片转换为指定格式

Input Schema

NameRequiredDescriptionDefault
heightNo目标高度(像素)
input_pathYes源图片文件路径
maintain_aspect_ratioNo保持宽高比
output_formatYes目标格式(png/jpg/jpeg/gif/bmp/tiff/webp/svg/ico等)
output_pathNo输出文件路径(可选,默认自动生成)
qualityNo压缩质量(1-100,仅适用于有损格式)
widthNo目标宽度(像素)

Input Schema (JSON Schema)

{ "properties": { "height": { "description": "目标高度(像素)", "minimum": 1, "type": "number" }, "input_path": { "description": "源图片文件路径", "type": "string" }, "maintain_aspect_ratio": { "default": true, "description": "保持宽高比", "type": "boolean" }, "output_format": { "description": "目标格式(png/jpg/jpeg/gif/bmp/tiff/webp/svg/ico等)", "type": "string" }, "output_path": { "description": "输出文件路径(可选,默认自动生成)", "type": "string" }, "quality": { "description": "压缩质量(1-100,仅适用于有损格式)", "maximum": 100, "minimum": 1, "type": "number" }, "width": { "description": "目标宽度(像素)", "minimum": 1, "type": "number" } }, "required": [ "input_path", "output_format" ], "type": "object" }
Install Server

Other Tools from Image Converter MCP Server

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/pickstar-2002/image-mcp'

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