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

These files contain Photoshop and XMP profiles.

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




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 Friesenhahn
 bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
 GraphicsMagick Maintainer, http://www.GraphicsMagick.org/