Color assignment in Sun rasterfiles

Tom.Lane at g.gp.cs.cmu.edu Tom.Lane at g.gp.cs.cmu.edu
Tue Jan 29 06:00:30 AEST 1991


ulrich at opal.cs.tu-berlin.de writes:
> [in SUN Rasterfile format]  I'm under the
> impression that there is a small bug in pbmplus that switches the
> color channels blue and red ...

and marinell at Iris1.UCIS.Dal.Ca (Kevin Marinelli) writes:
> Re-writing the conversion program to swap the red and blue channels
> corrected the problem completely. Reds were red, blues were blue, and
> the other colours were also corrected.

I've recently discovered that Image Alchemy thinks the color channels in a
Sun rasterfile come in the order blue, green, red.  Every other piece of
image software I have thinks it is red, green, blue.  But I don't have any
Sun software nor Sun-original rasterfiles to check this out on.  Can
anybody state *definitively* which is right?  Is the order in colormap
entries perchance different from the order in 24-bit pixels?

Internet: tgl at cs.cmu.edu



More information about the Comp.sys.sun mailing list