ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: mariposa on December 27, 2012, 05:20:32 PM

Title: Irfanview reads Exif data where exiftool (and others) don't
Post by: mariposa on December 27, 2012, 05:20:32 PM
Dear all,

I have a number of photos, which according to Irfanview contain Exif information, where exiftool (and Picasa) does only show a very basic subset.

Evidently, the file is somehow corrupted, but I have no idea how to go about repairing it. Maybe a kind soul could point me in the right direction.

I attach both the Irfanview output (copied via clipboard) and the exiftool output for your information. If required, I can also upload a typical image file.

Thank you very much in advance for your attention,

Mariposa
Title: Re: Irfanview reads Exif data where exiftool (and others) don't
Post by: Phil Harvey on December 27, 2012, 08:38:16 PM
Hi Mariposa,

Interesting, but I can't say much else without seeing the sample image.

If you can't upload the image, you can mail it to me at philharvey66 at gmail.com

- Phil
Title: Re: Irfanview reads Exif data where exiftool (and others) don't
Post by: mariposa on December 28, 2012, 05:39:19 AM
Here is the image containing the previously uploaded exif information.

Thanks for your attention.

Mariposa
Title: Re: Irfanview reads Exif data where exiftool (and others) don't
Post by: Phil Harvey on December 28, 2012, 08:26:13 AM
Hi Mariposa,

Thanks for the sample.

Yes, the JPEG APP1 EXIF segment is not written correctly -- there is an extra 4 bytes of garbage at the start of the segment (actually, it is a duplicate segment header; I wonder how this happened).

Anyway, I have added a patch to handle this type of incorrectly written EXIF segment, and ExifTool 9.10 will read this metadata (and issue a "Unknown garbage at start of EXIF segment" warning).

- Phil
Title: Re: Irfanview reads Exif data where exiftool (and others) don't
Post by: mariposa on December 29, 2012, 06:16:35 AM
Thanks for this. I will try 9.10 once it comes out.
Title: Re: Irfanview reads Exif data where exiftool (and others) don't
Post by: Phil Harvey on December 29, 2012, 10:12:59 AM
9.10 is out now. :)

- Phil