Skip to main content
Glama

MCP Image Extractor

by ifmelate

extract_image_from_file

Extract and process images from file paths for visual content analysis, OCR text extraction, and object recognition. Supports screenshots, photos, diagrams, and documents in PNG, JPG, GIF, and WebP formats.

Instructions

Extract and analyze images from local file paths. Supports visual content understanding, OCR text extraction, and object recognition for screenshots, photos, diagrams, and documents.

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" }

Other Tools from MCP Image Extractor

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/ifmelate/mcp-image-extractor'

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