🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.avs
Article #47

Re: Problem with RGB byte ordering between AVS modules

#47
From: Dominique Le Corre
Date: Tue, 11 Aug 1992 14:39
11 lines
1284 bytes
In article <1992Aug10.195155.4648@u.washington.edu> merritt@u.washington.edu writes:
>
>	The area around the cursor is obtained using the call XGetImage(),
>from which the (4 bytes per pixel) pixel array is copied to the data field
>of the output (AVSfield_char) port.  All very well except that on my
>DECstation this results in the RGB bytes being interpreted in reverse
>order.
I would suspect this has to do with little/big Indian.
Anyway, I've got no explanation, but a workaround:
Feed your image into 3 extract scalars (R,G,B), and then back into combine
scalars, crossing the R & B ports.
Technical Details
Message-ID: <1992Aug11.143929.1993@convex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!convex!dlc
References: <1992Aug10.195155.4648@u.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!convex!dlc
From: dlc@convex.com (Dominique Le Corre)
Newsgroups: comp.graphics.avs
Subject: Re: Problem with RGB byte ordering between AVS modules
Message-ID: <1992Aug11.143929.1993@convex.com>
Date: 11 Aug 92 14:39:29 GMT
References: <1992Aug10.195155.4648@u.washington.edu>
Sender: usenet@convex.com (news access account)
Organization: CONVEX Computer Corporation, Richardson, Tx., USA
Lines: 11
Nntp-Posting-Host: convex1.convex.com
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.