AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

2008.08.04 21:24 "[Tiff] Pre-compressing tiles?", by David Hoerl

I'm trying to save massive tiff files on Mac OSX. The machine has 8 cores on it, and it occurred to me that if I used multiple threads to precompress each tile, that I could then (in the primary thread) save the tiles (one at a time) using TIFFWriteRawTile.

Although this seems like at least one intended use, not sure - maybe its just for copying compressed tiles from one image to another?

My plan is to compress the tiles using COMPRESSION_LZW with horizontal prediction.

Is there some facility in the library to just compress a tile?

If so, can I call it from multiple threads?

Thanks

David