2002.06.27 15:38 "tiffcp allocating full image buffers", by Frederic Delhoume

2002.06.27 15:38 "tiffcp allocating full image buffers", by Frederic Delhoume

Hi,

I want to convert a very large tiff untiled image (21000x21000) to a tiff tiled image and have problems because the tiffcp tool allocates the whole image. That's more than 1.3 Gigabytes of memory and the TIFFMalloc call fails. The code is in cpImage(..)

Has anybody a version that would not allocate all the source image but only what is necessary (I guess one tile height * one raster scan line size sould be enough)?

Thank you,

Frederic.