2016.03.18 14:03 "Re: [Tiff] Wrong data type of GPS_IFD and EXIF_IFD tags and other issues", by Fran=c3=a7ois-Xavier_Thomas

2016.03.18 14:03 "Re: [Tiff] Wrong data type of GPS_IFD and EXIF_IFD tags and other issues", by Fran=c3=a7ois-Xavier_Thomas

Hello all,

I've recently spent a few hours debugging a really strange issue where some TIFF images we use had unreadable EXIF and GPS tags using Exempi (the tag processing library we are using).

After a while, I found out that the images were all produced by LibTiff 4.0, and the TIFFTAG_EXIFIFD and TIFFTAG_GPSIFD both had type TIFF_IFD (13) instead of TIFF_LONG (4), which Exempi doesn't support.

Here is what I could find in various specs:

Someone already sent an email about this a few months back. I'm not sure I can reply to the original thread[4] since I just subscribed to the mailing list, but I cc'd the poster.

Anyway, the following libraries don't support TIFF_IFD8 at all and were only able to read EXIF/GPS metadata with TIFF_LONG:

Regards,
François-Xavier

[0] https://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf [1] http://www.exif.org/Exif2-2.PDF [2] http://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf [3] https://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf [4] http://www.asmail.be/msg0055066050.html

--

François-Xavier Thomas -- Ingénieur traitement des images

AIRINOV
Incubateur PRINE
48 rue René Clair
75899 Paris Cedex 18
09 72 39 75 82
www.airinov.fr