Main Menu

exif tags parsing

Started by e@e@, October 08, 2023, 08:52:43 AM

Previous topic - Next topic

e@e@

Im trying to parse JPEG EXIF data on my own.
How should I handle with tags that share the same tag ID (like tag ID 0001 that can be for GPSLatitudeRef and for InteropIndex)?
for now just found only GPS tags that share same ID with other tags.
also, how should I recognize which IFD im parsing (aka IFD0 / IFD1 etc..), I saw also that I have some tags that tagged as IFD on Phil's table, which also appears in IFD1 and associated with the thumbnail image.

any help?

StarGeek

Not my area of knowledge, but I believe location in the structure matters.  For example, using the command in FAQ #3, you will see that InteropIndex appears in the InteropIFD section, which, in the jpg I was looking at, is a sub-directory of the ExifIFD.

The exiftool source code is open, so you might look over the Exif.pm code.  And you can look over the EXIF standard (link to 2.32 via archive.org) (link to 3.00 via cipa.jp).
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype