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
March 2000

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

2000.03.30 11:14 "On 16 bit TIFF palette", by Ivo Penzar
2000.03.30 11:37 "Re: On 16 bit TIFF palette", by Peter Nielsen
2000.03.30 17:38 "Re: On 16 bit TIFF palette", by Phillip Crews

2000.03.30 17:38 "Re: On 16 bit TIFF palette", by Phillip Crews

At 06:14 AM 3/30/00 , Ivo wrote:
> Rule of thumb: When saving the TIFF palette image, always save the r,g,b
> values (<256) as shifted 8 bits to the left.

Actually, they should be saved as (x<<8)+x so that white is 0xffff rather 
than 0xff00 (and so that levels are evenly distributed between 0x0000 and 
0xffff). Doesn't matter if all readers just shift, but anyone actually 
working in 48-bit color needs the extra bits.

Kind regards,
Phillip Crews
Cerious Software, Inc.
http://www.thumbsplus.com