Command line exifTool finds these tags easily, but I'm not able to find them using Image::Exiftool and ImageInfo.
I've tried every variation of the names I can find in documentation, xml files, and print outs.
Here's what I have...
my @TagList = qw(*:*subject* *:*Subject* creator;); # using creator for testing
$Info = ImageInfo($File,\@TagList);
foreach (keys %$Info) {
print "$FileName $_ => $$Info{$_}\n";
}
Results:
20160326-101940.xmp SubjectDistanceRange => Unknown
20160326-101940.xmp Creator => Steve Delaney
Subject and HierarchicalSubject are never found, even when I hard code them.
p.s. I'm reading xml files.
-sd
Very odd. I just ran your exact code and it works for me, but it doesn't extract Creator because of the extra semicolon at the end of this tag name.
You must be running an old version of ExifTool. Try updating to the most recent version.
- Phil
Thanks, I got it working.