|TIFF and LibTiff Mail List Archive|
LibTiff Mailing List
2015.01.01 17:27 "Re: [Tiff] Fast TIFF Reading on Windows", by
>> recent versions of windows?
My experience is that plain read() is generally faster than mmap(), and does not chew up your VM.
For tiled images, read with TIFFReadTile(). For strip images, read with TIFFReadEncodedStrip().
You may need to do some repacking of pixel data after reading, unfortunately. As I'm sure you know, there are an annoying number of cases you probably ought to handle, like 2-bit palette images, or something mad like that.