Image-ExifTool - Re: IPTC issues...

Posted on Fri Jun 9 18:39:02 2006 by exiftool in response to 2447 (See the whole thread of 4)
Re: IPTC issues...
Ah, that's what you meant by "(some number here)". The keys to the $info hash are tag keys, not tag names. The tag keys will contain a number if there is more than one tag extracted with the same name. To get the tag name, use "$tagName = Image::ExifTool::GetTagName($tagKey)" to return the tag name. Also, it looks like there is more than one IPTC record in the file you're using. You can set the Duplicates option value to 0 to avoid extracting duplicate tags: "$exifTool->Options(Duplicates=>0)".
Direct Responses: 2450 | Write a response