New User - bad tiff?

Started by Archive, May 12, 2010, 08:53:56 AM

Previous topic - Next topic

Archive

[Originally posted by darrowco on 2006-09-08 20:52:56-07]

Hi, thanks for a great product and service, I am trying out EXIFTool and hoping to use it in workflow.

One problem tho, I am getting my images (tif or nef) from an old Nikon LS-30 slide scanner. I suspect that the metadata from the scanner is non-conforming because I am can read the tags but am unable to insert any data. Here is typical error:

perl exiftool -Keywords='grapes' c:\temp\img078.tif

Warning: Entries in IFD0 were out of sequence. Fixed. - c:\temp\img078.tif

Error: Can't read GPS data - c:\temp\img078.tif

 0 image files updated

 1 files weren't updated due to errors

Here is the htmldump and bad tif image (~3mb):

htmldump

bad image

I tried clearing with various options but got the same error:

perl exiftool -exif:all= c:\temp\img078.tif

If I open and save the image with a third party app (acdc), it wipes the metadata and then I can insert new metadata with exiftool. Is there a way to programatically wipe the metadata with exiftool? I do not mind losing it and then I can insert my new data.

Thanks for any help,

darrowco

Archive

[Originally posted by darrowco on 2006-09-08 20:55:09-07]

Apologies for the double post, not suer how I did it - darrowco

Archive

[Originally posted by exiftool on 2006-09-09 00:24:32-07]

Hi Darrowco,

Very interesting.  This TIF has a GPS IFD with zero entries.  I have never seen this, and was
using a non-zero entry count as a test for validity.  In fact, according to the TIFF specification,
an IFD must have at least one entry.

However, I don't see anything wrong with changing this to a minor error to give the user the option
to ignore this problem at his own peril.  If you ignore the error, the zero-entry IFD will be discarded
when the image is rewritten.  (Minor errors are downgraded to warnings with the -m
option, allowing you to write a file containing these errors.)

I have uploaded a pre-release of
ExifTool 6.37
which contains this update.  Let me know if you have any troubles with it.

- Phil

P.S. Nice use of the htmldump feature, btw. Smiley

Archive

[Originally posted by darrowco on 2006-09-09 04:05:52-07]

Hi Phil,

Thank you for the prompt response and fix, much appreciated!

Darrowco

Archive

[Originally posted by darrowco on 2006-09-09 04:40:10-07]

btw, do you have a paypal donation link? Couldn't find one!

Archive

[Originally posted by exiftool on 2006-09-09 11:02:03-07]

I'm glad that worked.

I do have a paypal account, and some people have insisted on using it to send me some money, but I don't post my account details.  This is free software. Smiley

- Phil