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

Home » Public Forums » archive » Re: Display Gifs, each w/diff color tables?
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: Display Gifs, each w/diff color tables? [message #16252 is a reply to message #16250] Mon, 12 July 1999 00:00 Go to previous messageGo to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Liam Gumley wrote:
> If you have a 24-bit display, try this in a new IDL session:
>
> ;- Set display to 24-bit decomposed mode
> device, true=24, decomposed=0, retain=2
> if !d.n_colors le 256 then message, '24-bit mode unavailable' <<<< ERROR!

I forgot that !d.n_colors is always 256 before you open a window. Just
remove this line, and it should work (if you have 24 bit graphics). Or,
move it *after* the WINDOW command.

Note to self: test all code examples before posting.

--
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: RedHat 6.0 and IDL 5.2
Next Topic: RedHat 6.0 and IDL 5.2

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

Current Time: Fri Oct 10 06:25:44 PDT 2025

Total time taken to generate the page: 1.44021 seconds