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
Name | Required | Description | Default |
---|---|---|---|
image_source | Yes | 图片源,可以是文件路径或base64编码的图片数据 | |
quality | No | 图片质量,范围 1-100,仅对 JPEG 格式有效 | |
target_format | Yes | 目标格式:PNG、JPEG、WEBP、BMP、TIFF、GIF 等 |