🖼️ Image Format Converter
Convert images between any format with quality control and resizing options.
Supported Formats: PNG, JPG/JPEG, WEBP, BMP, GIF, TIFF, ICO, PDF
Output Format
1 100
{
"name": "image-converter" ,
"version": "1.0.0" ,
"description": "Convert images between various formats with quality and resize options" ,
"tools": [
{
"name": "convert_image" ,
"description": "Convert an image from one format to another with optional resizing" ,
"parameters": { }
"input_image": "PIL Image or path to image file" ,
"output_format": "Target format. Supported: PNG, JPG, JPEG, WEBP, BMP, GIF, TIFF, ICO, PDF" ,
"quality": "Quality for lossy formats (1-100, default: 95)" ,
"resize_width": "Optional width for resizing (pixels)" ,
"resize_height": "Optional height for resizing (pixels)" ,
"maintain_aspect": "Maintain aspect ratio when resizing (default: True)"
}
}
] ,
"supported_formats": {
"input": [
"PNG" ,
"JPG" ,
"JPEG" ,
"WEBP" ,
"BMP" ,
"GIF" ,
"TIFF" ,
"ICO"
] ,
"output": [
"PNG" ,
"JPG" ,
"JPEG" ,
"WEBP" ,
"BMP" ,
"GIF" ,
"TIFF" ,
"ICO" ,
"PDF"
]
}
}
Using with MCP
This app is designed to work with Model Context Protocol (MCP) servers.
Key Features:
- Programmatic access via
convert_image()function - Structured metadata output
- Standard PIL Image input/output
- Configuration exposed via
MCP_CONFIG
Example MCP Tool Definition:
{
"name": "convert_image",
"description": "Convert image format",
"parameters": {
"input_image": "string (path or PIL Image)",
"output_format": "string (PNG, JPG, WEBP, etc.)",
"quality": "integer (1-100)"
}
}