2011.04.18 17:42 "[Tiff] WhiteLevel with 3.9.5", by Ashish Uthama

2011.04.19 15:35 "Re: [Tiff] WhiteLevel with 3.9.5", by Edward Lam

On 4/19/2011 11:19 AM, Edward Lam wrote:

If we examine the definition for TIFFTAG_WHITELEVEL (or TIFFTAG_BLACKLEVEL) in tif_dirinfo.c, it's using TIFF_VARIABLE(-1) for its field_readcount and field_writecount values. Given the description of those tags, shouldn't the field_{readcount,writecount} values be TIFF_SPP(-2) instead?

Oops, and they are. Sorry, I was looking at the libtiff 4 code.

-Edward