MCP Image Extractor

extract_image_from_file

Extracts and resizes images from files (PNG, JPG, GIF, WebP) to 512x512 dimensions, optimizing them for LLM analysis to enable AI models to process visual content effectively.

Input Schema

NameRequiredDescriptionDefault
file_pathYesPath to the image file to analyze (supports screenshots, photos, diagrams, and documents in PNG, JPG, GIF, WebP formats)
max_heightNoFor backward compatibility only. Default maximum height is now 512px
max_widthNoFor backward compatibility only. Default maximum width is now 512px
resizeNoFor backward compatibility only. Images are always automatically resized to optimal dimensions (max 512x512) for LLM analysis

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "file_path": { "description": "Path to the image file to analyze (supports screenshots, photos, diagrams, and documents in PNG, JPG, GIF, WebP formats)", "type": "string" }, "max_height": { "default": 512, "description": "For backward compatibility only. Default maximum height is now 512px", "type": "number" }, "max_width": { "default": 512, "description": "For backward compatibility only. Default maximum width is now 512px", "type": "number" }, "resize": { "default": true, "description": "For backward compatibility only. Images are always automatically resized to optimal dimensions (max 512x512) for LLM analysis", "type": "boolean" } }, "required": [ "file_path" ], "type": "object" }

You must be authenticated.

Other Tools from MCP Image Extractor

Related Tools

ID: hixk83oerv