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
August 2007

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

2007.08.22 06:13 "How to handle big single-strip images?", by Oliver Geisen
2007.08.22 09:36 "Re: How to handle big single-strip images?", by <jcupitt@gmail.com>
2007.08.22 12:19 "Re: How to handle big single-strip images?", by Toby Thain
2007.08.22 13:58 "Re: How to handle big single-strip images?", by <jcupitt@gmail.com>
2007.08.22 13:00 "Re: How to handle big single-strip images?", by Gerben Vos
2007.08.22 22:03 "Re: How to handle big single-strip images?", by Leonardo Serni

2007.08.22 12:19 "Re: How to handle big single-strip images?", by Toby Thain

On 22-Aug-07, at 6:36 AM, jcupitt@gmail.com wrote:

> On 8/22/07, Oliver Geisen <oliver.geisen@kreisbote.de> wrote:
>> i wonder what will happen if one opens an tiff image where all the
>> data is in a SINGLE strip (some writers offer this option) and also
>> compressed (G4) and someone tries to use TIFFReadScanline with it?
>> I would expect that libtiff needs to read the whole strip, because
>> it's compressed, into memory. Or is it possible to read compressed
>> data by chunks?
>
> This is what the tiled mode is for. Strip TIFFs (as you say) are not
> very suitable for random access.

Wouldn't that only depend on the strip size?

--Toby

> Tiled TIFFs work well with random
> access, even with compression.
>
> We use JPEG-compressed tiled TIFF pyramids in our web image viewer and
> performance is good. There's a demo with a 80,000 by 40,000 pixel
> image here:
>
> http://iipimage.sourceforge.net/demo.shtml
>
> John
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/