Image Probe
image_probeRead an image's format and pixel size from its header alone. FREE.
Dimensions live in the first few dozen bytes of PNG, JPEG, GIF, BMP and WebP, so a base64 prefix is enough - you do not need to send the whole file, and nothing is decoded. Typical input {"data_base64": "iVBORw0KG..."} returns {"format": "png", "width": 1920, "height": 1080, "aspect_ratio": 1.7778, "aspect_label": "16:9", "megapixels": 2.07, "orientation": "landscape", "bytes_inspected": 512}.
Use to find out what you are dealing with before planning a resize. Not for pixel content - nothing here reads pixels - and not for EXIF. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "data_base64 must not be empty"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_base64 | Yes | The image file, base64-encoded. The first few hundred bytes are enough for every supported format; send a prefix rather than a large file. Data-URL prefixes like "data:image/png;base64," are accepted and stripped. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||