AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.02.09 17:02 "[Tiff] Photoshop 8.0 and libtiff", by Don Ellis
[...]
2004.02.09 19:51 "RE: [Tiff] Photoshop 8.0 and libtiff", by Bob Friesenhahn
2004.02.13 19:11 "RE: [Tiff] Photoshop 8.0 and libtiff", by Don Ellis
[...]

2004.02.13 19:11 "RE: [Tiff] Photoshop 8.0 and libtiff", by Don Ellis

Just finished some more testing of tiff files larger than 2 GB and this is what I have found.

For MS Visual C++ and running on Windows 2000, you just have to change tsize_t to __int64 and recompile to be able to use libtiff on files from 2 GB to 4 GB.

For gcc and running Redhat Linux 9.0, you need to change tsize_t from int32 to int64_t and recompile with -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE.

This allows all the "tools" to handle TIFF files up to 4 GB, at least for these OSs and compilers.