Hi Phil
Thanks for the quick response.
Show quoted text> The problem is that the EXIF in this HTC image is written incorrectly.
I thought so, but I'm not really fluently enough in Exif tags to
be sure that this is outside the specifications. Specifically because
libexif somehow managed to read this mess.
Show quoted text> The InteropOffset incorrectly points to the GPS IFD.
> The question is: How should this problem be handled?
>
> ExifTool employs some logic that prevents it from processing the same
> EXIF IFD twice. This logic protects against problems like infinite
> recursion.
If I can choose between a stable Exif parser and one that handles
one broken vendor specific bug outside the specifications, I'll
choose the stable one.
It looks like some vendors can't follow the specifications
(e.g.: #41355).
Show quoted text> I think that ExifTool's response to this improperly formatted EXIF is
> reasonable, and don't think it is worthwhile changing it or adding
> a patch for this unique situation. The proper course of action
> would be to submit a bug report to HTC.
Acknowledged.
Show quoted text>I should mention that you can extract the improperly referenced
> GPS information from the InteropIFD like this:
> exiftool -u -H -interopifd:all HTC_7ProT7576.jpg
Thanks for the pointer. I tried with 3c. from FAQ
(
http://www.sno.phy.queensu.ca/~phil/exiftool/faq.html), but that
didn't worked out. But Image::Info::image_info() returns this
tags (using the hex ID for the tags), so I'm already able to
extract this in this specific case.
Thanks for your very useful answer and the great ExifTool.
Regards, Andy