| 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 |
Thread2011.05.20 09:14 "Re: Failed to allocate memory", by <jcupitt@gmail.com>Hi Thomas, On 20 May 2011 09:26, Thomas Ellett <Thomas.Ellett@statkart.no> wrote: > The issue I’m having is processing a 2.7 gb single page tiff. I wanted to > use gdal_retile (tried gdal 1.7.0b2 and 1.8.0) on this to first tile and > then eventually pyramid the resultant images. Have you tried using vips to make the pyramids? It's quite commonly used to make pyramids for iipsrv and friends. There's a windows binary built against libtiff4 here: http://www.vips.ecs.soton.ac.uk/supported/7.24/win32/ You need vips-dev-tiff4-7.24.5.zip. If I run this on my laptop with: $ time vips.exe im_copy bigger8.v bigger.tif:,tile,pyramid,,,,8 > build.log real 11m35.835s user 0m40.080s sys 0m49.710s I get a 9gb tif pyramid and it seems to work OK. You'll need a program that can read huge tiff pyramids as well, of course. Documentation for the strange tiff format string here: http://www.vips.ecs.soton.ac.uk/supported/7.24/doc/html/libvips/VipsFormat.html#im-vips2tiff Leave the ",,,8" off the end of the string and it'll write smalltiff, though of course your filesizes will be limited. John |
|||||||