| 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.10.17 13:27 "Re: Tag 346", by Ross PresserOn 10/17/06, Leonard Rosenthol <leonardr@pdfsages.com> wrote: > At 8:24 AM -0400 10/17/06, Toby Thain wrote: > >Doesn't matter for the OP's purpose (as he explained). > > > > If the actual values of the colormap/index table don't matter > - then why not ignore it completely and simply treat the image as > grayscale? The data for an indexed color image is 100% equivalent > to the data for a grayscale image - just an array of values (1 per > pixel). The data are not quite equivalent; the colors do have semantic meaning in this context -- it's important to know which pixels are magenta rather than black, and the magenta and black pixels are not shades of the same tint. It may work as an intermediate format. It would look rather odd on screen, though, as a grayscale image, since the three palette entries would correspond to gray levels that were very very close together: 0, 1, and 2. I would have to expand that, maybe to 0-127-255; and if I'm going to do that manipulation, why not go a little further and use a format that might actually look like something on screen, i.e. indexed RGB color, using #000000, #FFFFFF, #FF00FF? |
|||||||