AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2010.05.24 03:52 "[Tiff] Script Oriented, File Based Utility for Resampling TIFF Files", by Kevin Myers
2010.05.24 17:36 "[Tiff] Script to resample large TIFFs", by Richard Nolde
2010.05.24 17:45 "Re: [Tiff] Script Oriented, File Based Utility for Resampling TIFF Files", by Even Rouault

2010.05.24 17:45 "Re: [Tiff] Script Oriented, File Based Utility for Resampling TIFF Files", by Even Rouault

You could try with GDAL utilities. gdal_translate or gdalwarp depending of your exact needs.

Le Monday 24 May 2010 05:52:24 Kevin Myers, vous avez écrit :

I am working with a large number (thousands) of extremely large tiff images (hundreds of megapixels or larger) that need to be resampled, most of them from 300 dpi to 200 dpi. Currently I am using GraphicsMagick for this purpose GraphicsMagick is an excellent program, but it is very slow for the images that I am dealing with due to their size and GraphicsMagick's memory-oriented implementation (it essentially wants to load the entire image into memory at one time, since the image won't fit into RAM in the representation used by GraphicsMagick, it is paged to and from disk, which is very slow).

In order to speed up this process, I need a script oriented resampling utility that can only load portions of images (e.g tiles or strips) into memory at one time, something similar to tiffcp. Both tiffcp and its cousin tiffcrop can manipulate tiff images without loading the entire image into memory, but neither is capable of true resampling to my knowledge. Does anyone know of a script (command line) oriented strip/tile based re-sampling utility for tiff files?