I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2006-06-08 23:29:02-07 by 00coday
IPTC issues...
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?
Direct Responses: 2446 | Write a response
Posted on 2006-06-09 11:32:17-07 by exiftool in response to 2440
Re: IPTC issues...
I'm not sure why you're getting anything at all actually. "IPTC-ApplicationRecord" is not a valid group name. Use "exiftool -listg1" to list all valid family 1 group names. The IPTC group is not broken down into separate records in family 1, so the group name is just "IPTC", which you have already stated using the "Group" option. So the following should do what you want:

my @ioTagList = qw(ObjectName DateCreated By-line By-lineTitle City Province-State Country-PrimaryLocationName Headline Credit Source Caption-Abstract Writer-Editor OriginalTransmissionReference Category); $info = $exifTool->ImageInfo($imgPath, \@ioTagList, {Group => 'IPTC'});
Direct Responses: Write a response