viraf@gwusun.gwu.edu (Viraf Bankwalla) (04/11/89)
Hi,
I have written a program that converts sun raster files to PICT
format, but the colors are off. The sun uses 8 bit values in its
color lookup table, while the Mac uses 16 bit values. I simply shift
the RGB components left 8 times - but that introduces green in some
parts of the image, that should be orange.
How should one go around converting 8 bit color values to 16 bits,
and vice versa.
Thanks in advance.
viraf bankwalla
viraf@gwusun.gwu.edu
uunet!gwusun!viraf