AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.12.07 11:25 "Fetching pixel data from 4bit tiff", by Dan Field
2004.12.07 11:32 "Re: Fetching pixel data from 4bit tiff", by Joris Van Damme
2004.12.07 11:38 "Re: Fetching pixel data from 4bit tiff", by Dan Field
2004.12.07 11:48 "Re: Fetching pixel data from 4bit tiff", by Joris Van Damme
2004.12.07 11:57 "Re: Fetching pixel data from 4bit tiff", by Dan Field
2004.12.07 12:21 "Re: Fetching pixel data from 4bit tiff", by Joris Van Damme
2004.12.07 13:02 "Re: Fetching pixel data from 4bit tiff", by Joris Van Damme
2004.12.07 14:50 "Re: Fetching pixel data from 4bit tiff", by Dan Field
2004.12.07 15:52 "Re: Fetching pixel data from 4bit tiff", by Bob Friesenhahn
2004.12.07 16:46 "Re: Fetching pixel data from 4bit tiff", by Dan Field
2004.12.07 17:04 "Re: Fetching pixel data from 4bit tiff", by Bob Friesenhahn
2004.12.07 20:00 "Re: Fetching pixel data from 4bit tiff", by Joris Van Damme
2004.12.07 20:41 "Re: Fetching pixel data from 4bit tiff", by Bob Friesenhahn

2004.12.07 20:41 "Re: Fetching pixel data from 4bit tiff", by Bob Friesenhahn

On 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