| 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 |
Thread2004.12.07 20:41 "Re: Fetching pixel data from 4bit tiff", by Bob FriesenhahnOn Tue, 7 Dec 2004, Joris wrote: > > You should use TIFFReadScanline() to read each scanline into memory > > you have allocated. > > Bob, > > Good advice. Especially if you plan to next explain how tiling issues require > another low-level approach. And explain that the interface will still work only > with these 4bit images, or either explain planarconfiguration issues, > subsampling issues, all color convertion issues, etc. I did not find it necessary because I assumed that you would clarify all of these issues. Alternatively, he could read the documentation or look at the sample utility code which comes with libtiff. Most monochrome images are quite large, so expanding them to RGBA is quite wasteful of memory, and slow. Bob ====================================== Bob Friesenhahn bfriesen@simple.dallas.tx.us http://www.simplesystems.org/users/bfriesen |
|||||||