2015.01.01 20:24 "Re: [Tiff] Fast TIFF Reading on Windows", by Aaron Boxer

2015.01.01 17:27 "Re: [Tiff] Fast TIFF Reading on Windows", by John

On Thu, 1 Jan 2015, Aaron Boxer wrote:

> Can anyone recommend the very fastest way of reading TIFF files on windows?

example, there are several ways of reading in the file, including Has anyone benchmarked performance on memory mapping.

>> 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.

John