Irfanview reads Exif data where exiftool (and others) don't

Started by mariposa, December 27, 2012, 05:20:32 PM

Previous topic - Next topic

mariposa

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

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

mariposa

Here is the image containing the previously uploaded exif information.

Thanks for your attention.

Mariposa

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

mariposa


Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).