I am using the following to get specific IPTC fields out of images. Somehow, I always end up with
the ApplicationRecordVersion field (and other unrequested fields) and fields with "(some number
here)" at the end. See below:
Array for fields:
my @ioTagList=('IPTC-ApplicationRecord:ObjectName',
'IPTC-ApplicationRecord:DateCreated',
'IPTC-ApplicationRecord:By-line',
'IPTC-ApplicationRecord:By-lineTitle',
'IPTC-ApplicationRecord:City',
'IPTC-ApplicationRecord:Province-State',
'IPTC-ApplicationRecord:Country-PrimaryLocationName',
'IPTC-ApplicationRecord:Headline',
'IPTC-ApplicationRecord:Credit',
'IPTC-ApplicationRecord:Source',
'IPTC-ApplicationRecord:Caption-Abstract',
'IPTC-ApplicationRecord:Writer-Editor',
'IPTC-ApplicationRecord:OriginalTransmissionReference',
'IPTC-ApplicationRecord:Category',
);
ExifTool call I am making:
$info = $exifTool-)ImageInfo($imgPath, \@ioTagList), {Group =) 'IPTC'});
I substituted =) for the arrows since this forum doesn't like the angle brackets.
Any thoughts?
(4)
]
