ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: canonman on September 05, 2016, 04:12:00 PM

Title: Problem with Tif File
Post by: canonman on September 05, 2016, 04:12:00 PM
Just installed ExifTool on Mac running El Capitan.

I have been having an issue with the Nik Collection Filters running stand alone stripping the Exif data from the file.  So to re write it from my original CR2 I have installed exiftool.

When I try exiftool -TagfromFile myfile.cr2 myfile.jpg  It reads the file and completes (with a warning about the Exif size).  When I now look at the JPG the Exif Data has been correctly re-written.

However when I try exiftool -TagfromFile myfile.CR2 myfile.TIF  everything seems to complete the same but the data is not written and the Exif remains incomplete as it was.

Are there any issues with TIF?  Looking through the help pages I see that the supported file is TIFF so I tried re-naming the file extension in case but it still did not work.
 
Title: Re: Problem with Tif File
Post by: canonman on September 05, 2016, 04:42:25 PM
Just to add version is 10.25

Commands run from the folder containing the files.

exiftool -TagFromFile IMG_0246.CR2 IMG_0246.JPG
Output for command that writes data is
======== IMG_0246.CR2
======== IMG_0246.JPG
Warning: Bad length ICC_Profile (length 3140) - IMG_0246.JPG
    2 image files read

exiftool -TagFromFile IMG_0246.CR2 IMG_0246.TIF
Output for file that does not is
======== IMG_0246.CR2
======== IMG_0246.TIF
Warning: Bad length ICC_Profile (length 3140) - IMG_0246.TIF
    2 image files read
Title: Re: Problem with Tif File
Post by: StarGeek on September 05, 2016, 04:54:02 PM
Try -TagsFromFile.  Your command is looking for a tag called "TagFromFile", which doesn't exists so the output is empty for the two files.
Title: Re: Problem with Tif File
Post by: canonman on September 05, 2016, 05:03:45 PM
Thanks that fixed it.  What puzzled me is how it worked for the JPG.  Maybe I typed it correctly earlier and then mistyped later.