[comp.sys.sun] Color assignment in Sun rasterfiles

Tom.Lane@g.gp.cs.cmu.edu (01/29/91)

ulrich@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@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@cs.cmu.edu