comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » 24 bit colors in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 24 bit colors in IDL [message #13542 is a reply to message #13280] Thu, 19 November 1998 00:00 Go to previous messageGo to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
David Fanning wrote:
;>
;> Nigel Wade (nmw@ion.le.ac.uk) writes:
;>
;> > Why do you want to blame SGI?
;> >
;> > If IDL asks for a DirectColor visual and gets what's wrong
;> > with that?
;>
;> Geez, Nigel. Bad day? You must be the systems
;> administrator for a bunch of SGIs. :-)

How did you guess? (I could say every day is a bad day
when you administer SGI machines, but I won't).

Sorry, I didn't mean it to sound harsh. Words without
intonation can be hard to control.

;>
;> My apologies. IDL does in fact look for a DirectColor
;> visual first. The problem with a DirectColor visual is
;> that it is not writeable. That is to say, you can't load
;> a color table. Thus, the *only* way you can express
;> a yellow color in a DirectColor visual is to specify
;> its color triple (usually as a 24-bit integer).
;> Similarly, the only way you can get a color image
;> is to use a 24-bit image. I suppose this visual is
;> looked for first because it is the "purest" form of
;> 24-bit color.
;>
;> The real problem with SGIs is that those guys tend
;> to use color correctly, but they are the only ones
;> to do so. If you get brought up on a machine that
;> is confused, then you tend to think the SGI is at
;> fault. :-)
;>
;> Cheers,
;>
;> David


Yeah, isn't 24 bit colour fun?


We've recently gone from 8 bit to 24 bit displays here and
all the attendant problems of getting our old 8-bit programs
to display in colours other than various shades of red.

--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Status Bar Help
Next Topic: Is the new IDL5.2 for Linux ELF-based or a.out-based?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 21:24:26 PDT 2025

Total time taken to generate the page: 1.12078 seconds