Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: Nicolas.Franck [...] UGent.be
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 11.00



Subject: exiftool command: removing tags dumps info on startup
Date: Thu, 26 Apr 2018 07:19:45 +0000
To: "bug-Image-ExifTool [...] rt.cpan.org" <bug-Image-ExifTool [...] rt.cpan.org>
From: Nicolas Franck <Nicolas.Franck [...] UGent.be>
I'm trying to remove the private tag 37724 (ImageSourceData) from a tif using the exiftool command. $ exiftool -config private_tags.conf -ImageSourceData= test.tif In version 10.40 this works fine and merely reports what changed and what not, but in version 10.80 it dumps all tags at startup (including the binary data in the ImageSourceData) leading to a long block. This is the config: %Image::ExifTool::UserDefined = ( 'Image::ExifTool::Exif::Main' => { 37724 => { Name => 'ImageSourceData', Writable => 'no', WriteGroup => 'IFD0', Protected => 0 } } ); 1; The file can be retrieved here: http://adore.ugent.be/local/test.tif Any idea? Thanks in advance Nicolas Franck
I can't download your sample. Could you try emailing it to me (phil at owl.phy.queensu.ca)? - Phil
Scratch that. The download is going now, so don't email the (1 GB!) file. I'll let you know how it goes. - Phil
It works for me with ExifTool 10.94: % exiftool -config a.config -ImageSourceData= test.tif -v3 Deleting IFD0:ImageSourceData ======== test.tif Rewriting test.tif... Editing tags in: IFD0 TIFF Creating tags in: FileType = TIFF FileTypeExtension = TIF MIMEType = image/tiff Rewriting IFD0 Rewriting XMP Rewriting Photoshop Rewriting ExifIFD Rewriting ICC_Profile - IFD0:ImageSourceData = '' Copying 1 image data blocks Deleting blank trailer (4 bytes) 1 image files updated But it seems that you want to define ImageSourceData as not writable in your config file. To do this, set Writable to 0, not 'no'. - Phil
Subject: Re: [rt.cpan.org #125213] exiftool command: removing tags dumps info on startup
Date: Fri, 27 Apr 2018 07:13:04 +0000
To: "bug-Image-ExifTool [...] rt.cpan.org" <bug-Image-ExifTool [...] rt.cpan.org>
From: Nicolas Franck <Nicolas.Franck [...] UGent.be>
Thanks for your response ;-) I cannot find version 10.94 on cpan. The latest version on cpan is 10.80. The tiff file is big indeed. It was the only version I could find. Try this command to see what is "wrong" with this file: $ tiffinfo test.tif You'll see that the command is blocking a long time as its trying to output all data from the ImageSourceData, so that's why I wanted to remove this tag. The strange is that this behaviour only applies to the command "exiftool". If I use the API inside a script everything goes fine (using SetNewValue and WriteInfo). Show quoted text
> On 27 Apr 2018, at 02:53, Phil Harvey via RT <bug-Image-ExifTool@rt.cpan.org> wrote: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=125213 > > > It works for me with ExifTool 10.94: > > % exiftool -config a.config -ImageSourceData= test.tif -v3 > Deleting IFD0:ImageSourceData > ======== test.tif > Rewriting test.tif... > Editing tags in: IFD0 TIFF > Creating tags in: > FileType = TIFF > FileTypeExtension = TIF > MIMEType = image/tiff > Rewriting IFD0 > Rewriting XMP > Rewriting Photoshop > Rewriting ExifIFD > Rewriting ICC_Profile > - IFD0:ImageSourceData = '' > Copying 1 image data blocks > Deleting blank trailer (4 bytes) > 1 image files updated > > But it seems that you want to define ImageSourceData as not writable in your config file. To do this, set Writable to 0, not 'no'. > > - Phil >
The current version of ExifTool may be downloaded from the ExifTool home page (http://owl.phy.queensu.ca/~phil/exiftool/). You just need to unzip the archive to run it -- you don't need to do an install. It would be useful to know if you have this problem with the current version, and if so the exact command you are using and more details about the problem you are having. Thanks. - Phil
Subject: Re: [rt.cpan.org #125213] exiftool command: removing tags dumps info on startup
Date: Wed, 2 May 2018 10:22:15 +0000
To: "bug-Image-ExifTool [...] rt.cpan.org" <bug-Image-ExifTool [...] rt.cpan.org>
From: Nicolas Franck <Nicolas.Franck [...] UGent.be>
Indeed, I see now: it works in the latest version ( 10.94 ) as you mentioned earlier. When is this version pushed to CPAN? Show quoted text
> On 28 Apr 2018, at 01:32, Phil Harvey via RT <bug-Image-ExifTool@rt.cpan.org> wrote: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=125213 > > > The current version of ExifTool may be downloaded from the ExifTool home page (http://owl.phy.queensu.ca/~phil/exiftool/). You just need to unzip the archive to run it -- you don't need to do an install. It would be useful to know if you have this problem with the current version, and if so the exact command you are using and more details about the problem you are having. > > Thanks. > > - Phil
I'll make another production release probably within a few weeks.