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 #13560 is a reply to message #13280] Wed, 18 November 1998 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
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. :-)

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
[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 24 06:05:37 PDT 2025

Total time taken to generate the page: 1.28107 seconds