2006.08.07 19:54 "[Tiff] Resolved: libtiff.dll and MSVC 6", by Sean Burke

2006.09.20 19:58 "Re: [Tiff] TIFF file bigger than 2Go", by Chris Cox

Photoshop CS and later can read TIFF files up to 4 Gigabytes. Earlier versions of Photoshop cannot read TIFF files (or any other file type) over 2 Gigabytes.

Did you enable the large file options when compiling LibTIFF?


On 9/20/06 10:20 AM, "Dlpnet" <dlpnet@free.fr> wrote:

I have problems creating TIFF file bigger thant 2 Go, or more precisely I cannot read this kind of file with any viewer I find: Photoshop, Irfan, ImageMagick,...

So, I m using libtiff3.7.0 and I also tried libtiff3.8.2 with the same problem.

So I m using these headers:

TIFFSetField(m_pstripFile, TIFFTAG_IMAGEWIDTH, width);

TIFFSetField(m_pstripFile, TIFFTAG_IMAGELENGTH, height);



TIFFSetField(m_pstripFile, TIFFTAG_BITSPERSAMPLE, bps);


TIFFSetField(m_pstripFile, TIFFTAG_PHOTOMETRIC, photometric);

TIFFSetField(m_pstripFile, TIFFTAG_COMPRESSION, comp);

And I write each line with:

TIFFWriteScanline(out, (void *)buf, cbY, 0);

with 'out' the file pointer, 'buf' the buffer of the line and 'cbY' the line number (uint32).

Everything seems to be correctly written and I can produce for example a 2,4Go TIFF file. But I cannot open them in any software. I add that any other file smaller than 2Go can be opened without any problem.

So my questions are: