Skip to content

Wrong data type of GPS_IFD and EXIF_IFD tags from _IFD8 corrected to _LONG

Su Laus requested to merge (removed):master into master

Ref.: http://bugzilla.maptools.org/show_bug.cgi?id=2539

The data type of the tags TIFFTAG_EXIFIFD and TIFFTAG_GPSIFD are wrongly implemented in the LibTiff. Another tool issues warnings about that. Some tools and libraries don't support TIFF_IFD8 at all and were only able to read EXIF/GPS metadata with TIFF_LONG Those tags are specified as LONG values (see http://www.awaresystems.be/imaging/tiff/tifftags/exififd.html) but in tiff_dirinfo.c their data type is specified as TIFF_IFD8=13 instead of TIFF_LONG=4.

For more details see Tiff mailing list: http://www.asmail.be/msg0055066050.html and http://www.asmail.be/msg0055098816.html

Merge request reports