| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2006.01.01 16:57 "Outrageous profile tag sizes reported by libtiff 3.8.0", by Bob FriesenhahnUsing libtiff 3.8.0, I noticed that GraphicsMagick was extremely slow (on a big-endian system) at loading some files written by Photoshop CS2. 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 example, it reports that the Photoshop data is 5696 bytes. On a little-endian system using libtiff 3.7.3 the sizes are reported correctly to GraphicsMagick. Bob ====================================== Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |
|||||||