← All microservices
Image metadata reader
Images
Read an image's format, dimensions, frames and colour details, plus EXIF camera data, date taken and GPS location.
What it does
- Format, size, frames and colour details
- Camera, lens and exposure settings
- Date taken and GPS location
- Dominant colours and how much of the image each covers
Good for
- Sorting photos by date
- Privacy checks before publishing
- Colour themes from images
Phones store where a photo was taken inside the file. This shows exactly what a photo gives away before you share it; the image converter removes it.
Example
POST https://bloodweb.net/api/v1/image-metadata
curl -H "Authorization: Bearer YOUR_KEY" -F file=@photo.jpg https://bloodweb.net/api/v1/image-metadata
Options
| Name | Description |
|---|---|
filefile |
The image, up to 25MB: jpg, png, gif, webp, bmp, tiff, heic, avif, ico. |
raw
|
Also return every EXIF field as found. Default: false |
palette
|
Also return this many dominant colours, as hex with the share of the image each covers. Default: 0 |
Returns
JSON: format, width, height, frames, colorspace, has_alpha, bit_depth, orientation, bytes, camera, taken_at, exposure, gps (null when absent).