AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2011

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2011.05.20 08:26 "Failed to allocate memory", by Thomas Ellett
2011.05.20 09:14 "Re: Failed to allocate memory", by <jcupitt@gmail.com>
2011.05.20 12:22 "Re: Failed to allocate memory", by Thomas Ellett
2011.05.20 20:37 "Re: Failed to allocate memory", by <jcupitt@gmail.com>
2011.05.20 12:46 "Re: Failed to allocate memory", by Frank Warmerdam
2011.05.20 12:59 "Re: Failed to allocate memory", by Thomas Ellett
2011.05.20 13:07 "Re: Failed to allocate memory", by Frank Warmerdam

2011.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