2005.12.12 22:19 "[Tiff] Writing EXIF data?", by Paul J. Lucas

2006.01.01 16:57 "[Tiff] Outrageous profile tag sizes reported by libtiff 3.8.0", by Bob Friesenhahn

Using libtiff 3.8.0, I noticed that GraphicsMagick was extremely slow a big-endian system) at loading some files written by Photoshop CS2. (on

The TIFF files were downloaded from
"http://www.babelcolor.com/main_level/ColorChecker.htm#How_about_data".

These files contain Photoshop and XMP profiles.

When the size (length is type 'uint32') is obtained via

TIFFGetField(tiff,TIFFTAG_PHOTOSHOP,&length,&text)

      or

TIFFGetField(tiff,TIFFTAG_XMLPACKET,&length,&text)

The length values reported are huge sizes like 387738624 or 979463168.

Somehow tiffinfo on the same system gets the length correct. For
it reports that the Photoshop data is 5696 bytes. example,

On a little-endian system using libtiff 3.7.3 the sizes are reported
to GraphicsMagick. correctly

 Bob
 ======================================
 Bob Friesenhahn
 bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
 GraphicsMagick Maintainer, http://www.GraphicsMagick.org/