Skip Menu |

This queue is for tickets about the Image-ExifTool CPAN distribution.

Report information
The Basics
Id: 18262
Status: resolved
Priority: 0/
Queue: Image-ExifTool

People
Owner: Nobody in particular
Requestors: tuzen [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 4.36
Fixed in: 6.17



Subject: -b concatenates multiple tag values
I am using ActiveState perl build 813 on WinXP.SP2, and the 6.06 version of exiftool. For files that have multiple values for a given tag, like: c:\>perl exiftool -EXIF:DateTimeOriginal test.nef Date/Time Original : 2004:05:10 12:57:57 Date/Time Original : 2004:05:10 12:57:57 When I ask for simple binary output I appear to get both values stuck together without any separator, like: c:>perl exiftool -b -EXIF:DateTimeOriginal test.nef 2004:05:10 12:57:572004:05:10 12:57:57 It seems like we should be able to either specify the index of the item we want ([0],[1]), and/or get a list of items back separated in some predictable way (1;2). I also see this new behavior with ImageWidthTag, ImageHeightTag, PixelXDimension, PixelyDimension, and SensingMethod.
Subject: Re: [rt.cpan.org #18262] -b concatenates multiple tag values
Date: Tue, 21 Mar 2006 15:42:08 -0500
To: bug-Image-ExifTool [...] rt.cpan.org
From: Phil Harvey <phil [...] nsun.phy.queensu.ca>
Thanks for this report. This is not new behaviour. It has been like this since I added the ability to specify group names in version 4.10. I consider this a feature request and not a bug report since the current behaviour is by design. However, I am open to suggestions, and can see that the current implementation may not be all that convenient, especially when using the -b option. Your suggestion of specifying an index can be done through the API, but would mean a change to the command-line interface that makes this solution unappealing. You already have the ability to select one of the tags by specifying either IFD0 or ExifIFD instead of just EXIF for the group, but I realize this isn't a good solution because it doesn't allow a general command line which works for all images. And I can't add a separator because this would cause problems when re-combining information (such as JPEG Comments) which should be combined with no separators. Instead, my suggested solution is to disallow duplicate tags when a group name is specified unless the -a (Duplicates) option is used. I will implement this in version 6.07 which will be released within the next day or so from the ExifTool home page. Hopefully there aren't too many people who rely on the previous behaviour. - Phil Harvey On Mar 20, 2006, at 4:30 PM, Guest via RT wrote: Show quoted text
> When I ask for simple binary output I appear to get both values > stuck together without any separator, like: > c:>perl exiftool -b -EXIF:DateTimeOriginal test.nef > 2004:05:10 12:57:572004:05:10 12:57:57 > > It seems like we should be able to either specify the index of the > item we want ([0],[1]), and/or get a list of items back separated in > some predictable way (1;2). > > I also see this new behavior with ImageWidthTag, ImageHeightTag, > PixelXDimension, PixelyDimension, and SensingMethod. >