Read common TIFF and Exif camera tags from a Base64-encoded JPEG APP1 segment.
The decoded JPEG is scanned for an APP1 marker beginning with Exif and two zero bytes. Its embedded TIFF header declares little- or big-endian byte order and IFD offsets; supported ASCII, integer, and rational fields are read only after bounds checks.
/9j/4QAnRXhpZgAASUkqAAgAAAABAA8BAgAFAAAAGgAAAAAAAABBY21lAP/Z
{
"tags": {
"Make": "Acme"
},
"tagCount": 1
}
Photo intake checks camera make and model, privacy reviews inspect capture metadata, and imaging tests verify exposure and pixel-dimension tags.