extracting IFD for eact metadata field

Started by banana123, February 25, 2024, 07:11:49 AM

Previous topic - Next topic

banana123

Hi guys,
is there any flag to get each field IFD along with the field name and value?
For example, for DateTimeOriginal ill get the EXIF ifd and for ProcessingSoftware get the 0th.
Currently I'm using '-b, -u' flags.
Later I want to parse it using Python to an object that will contain the key, ifd, offset, value and more..
Thanks guys!!

StarGeek

I'm not sure I understand, since you mention the -b (-binary) option, but maybe FAQ #3?  The -a (-duplicates) option to get duplicates so you get all the data and the -G (-groupNames) option to get the individual group names.

C:\>exiftool -G1 -a -s -ModifyDate "y:/!temp/!Dump/test.ARW"
[IFD0]          ModifyDate                      : 2021:05:13 08:51:52
[XMP-xmp]       ModifyDate                      : 2021:05:13 08:51:52-07:00
[IFD1]          ModifyDate                      : 2021:05:13 08:51:52
"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