| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2008.04.02 10:29 "Re: Open Tiff File in Read and write mode.", by Gerben VosJean-Michel FRECINAT wrote: > I use libtiff 3.8.2 and i have some problems with memory. When I > create a 30000x10000 pixels in cmyk, i have to have a lot of RAM > memory (about 2-3GB). > But my problem, i would open my file in read and write mode to edit > and to process some pixels and after save the scanline into file. I'm not very familiar with opening TIFFs in read-and-write mode, but in general this is only going to work well if the TIFF is uncompressed. Otherwise, the sizes of the new tiles/strips will differ from the old ones, and libtiff will append the new data to the end of the TIFF, leaving a large gap of unused data. (The TIFF is not one single large strip, I hope.) Also, maybe processing the TIFF by tile or strip works better than by scanline. Gerben Vos. -- Please reply to the list, not to me personally. |
|||||||