AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2011.04.20 10:57 "[Tiff] Memory allocation in TIFFWriteBufferSetup", by Guillaume Muller
2011.04.20 19:10 "Re: [Tiff] Memory allocation in TIFFWriteBufferSetup", by Chris Cox

2011.04.20 19:10 "Re: [Tiff] Memory allocation in TIFFWriteBufferSetup", by Chris Cox

Writing a large image as a single strip/tile is highly discouraged – many applications won’t be able to read a single strip that large. (even Photoshop fails in some cases because we need the compressed and uncompressed buffers, and run out of address space)

Compression more than one row at a time does improve the compression efficiency (smaller file).

But you should still limit that to a reasonable buffer size so that the file can be read by other applications.

Chris

On 4/20/11 3:57 AM, "Guillaume Muller" <gmuller68@orange.fr> wrote:

The problem I have is that my application is generating huge files (between 1 and 2Gb), and with one single strip..