AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.08.22 06:13 "[Tiff] How to handle big single-strip images?", by Oliver Geisen
2007.08.22 09:36 "Re: [Tiff] How to handle big single-strip images?", by
2007.08.22 12:19 "Re: [Tiff] How to handle big single-strip images?", by Toby Thain
2007.08.22 13:58 "Re: [Tiff] How to handle big single-strip images?", by
2007.08.22 13:00 "Re: [Tiff] How to handle big single-strip images?", by Gerben Vos
2007.08.22 22:03 "[Tiff] Re: How to handle big single-strip images?", by Leonardo Serni

2007.08.22 13:58 "Re: [Tiff] How to handle big single-strip images?", by

On 8/22/07, Toby Thain <toby@smartgames.ca> wrote:

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?

My understanding is that you can only do random access of a compressed stripped image if rowsperstrip is 1. That's what the manpage for TIFFReadScanline() says anyway. I don't know what happens if you JPEG-compress and try setting rowsperstrip to 1, perhaps it does something clever.

Anyway, the tiled mode is the one designed for random access, so (in my opinion) attempting random access of a stripped image is a bit dubious.

John