2007.07.11 00:04 "[Tiff] BigTIFF, let the race begin!", by Bob Friesenhahn

2007.08.17 15:27 "Re: [Tiff] tiff problems win to mac", by Bob Friesenhahn

I had a working code (32 windows, libtiff 3.7.3) reading Tiff files. I

wanted to use exactly the same on a 64 bit Mac OS X 10.4.10 (cpu powerpc

970) but I get the strange behaviour that while on the windows libtiff

found the pixel values to be 16 bit per sample, on the Mac OS X it sees

them to be 1048576 bits. I don't understand what is going on, please help!

Libtiff has had many such bugs in the past. They have to do with errors in the TIFF directory reading code (libtiff bug). This same bug bit me before. It is related to the big-endian CPU rather than 64-bit compilation. The easiest solution is to upgrade your libtiff to a version without the bug.

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