| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2006.02.02 15:36 "Re: Fastest method to load tiff files?", by Frank WarmerdamOn 2/2/06, Edward Lam wrote: > > What is the fastest way to read tiff files using libtiff? Edward, I would guess to use the TIFFReadEncodedStrip() or TIFFReadEncodedTile() functions, and to ensure you go from first to last strip/tile in order. I don't think you will gain much speed over that by special techniques. You might want to recognise some special cases, like packed stripped uncompressed 8bit data and just do a direct read or memory map of the data, but I doubt it will help much. You might also want to look at using the memory mapping support which sometimes can be faster than "normal" file IO. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent |
|||||||