AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.01.01 16:57 "Outrageous profile tag sizes reported by libtiff 3.8.0", by Bob Friesenhahn
2006.01.01 18:02 "Re: Outrageous profile tag sizes reported by libtiff 3.8.0", by Bob Friesenhahn
2006.01.01 18:50 "Re: Outrageous profile tag sizes reported by libtiff 3.8.0", by Bob Friesenhahn
2006.01.01 21:13 "Re: Outrageous profile tag sizes reported by libtiff 3.8.0", by Bob Friesenhahn
2006.01.02 16:08 "Re: Outrageous profile tag sizes reported by libtiff 3.8.0", by Bob Friesenhahn
2006.01.03 00:27 "Re: Outrageous profile tag sizes reported by libtiff 3.8.0", by Jay Berkenbilt
2006.01.03 02:31 "Re: Outrageous profile tag sizes reported by libtiff 3.8.0", by Bob Friesenhahn
2006.01.04 13:23 "Re: Outrageous profile tag sizes reported by libtiff 3.8.0", by Andrey Kiselev
2006.01.04 16:18 "Re: Outrageous profile tag sizes reported by libtiff 3.8.0", by Bob Friesenhahn
2006.01.07 02:59 "Re: Outrageous profile tag sizes reported by libtiff 3.8.0", by Jay Berkenbilt

2006.01.01 16:57 "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 
(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/