How to get the IPTC record number for a tag value? With the "-g -j -l -H" option the output is printed in json format and each tag contains an id field. But the id contains only the dataSetNumber.
The recordNumber is one byte and the dataSetNumber is one byte too (IPTC spec). It is possible to include the recordNumber in the id, because it should fit?
Thanks
Dirk
Hi Dirk,
Add the -t option to get the table name for these tags. You can use this lookup to convert these to record numbers:
"IPTC::EnvelopeRecord" => 1
"IPTC::ApplicationRecord" => 2
"IPTC::NewsPhoto" => 3
"IPTC::PreObjectData" => 7
"IPTC::ObjectData" => 8
"IPTC::PostObjectData" => 9
"IPTC::FotoStation" => 240
- Phil
Thanks, that's exactly what I need. :D
Dirk