2007.08.22 06:13 "[Tiff] How to handle big single-strip images?", by Oliver Geisen

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

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.