🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #6759

Color assignment in Sun rasterfiles

#6759
From: Tom.Lane
Date: Mon, 28 Jan 1991 19:00
18 lines
1398 bytes
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
Technical Details
Message-ID: <1511@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: Tom.Lane@g.gp.cs.cmu.edu
Newsgroups: comp.sys.sun
Subject: Color assignment in Sun rasterfiles
Keywords: Windows
Message-ID: <1511@brchh104.bnr.ca>
Date: 28 Jan 91 19:00:30 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 18
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 10, Issue 37, message 2
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu