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 #16246 is a reply to message #16239] Tue, 13 July 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Rose (rmlongfield@my-deja.com) writes:

> I forgot to mention that I do have 24-bit colors.

Oh, well, then. In that case, I think you must
have your 24-bit display in brain-dead mode.
I'm going to guess you used Liam's setup file to
run his FRAME tool. His setup file puts a 24-bit
machine in an 8-bit PseudoColor mode, which sort of
defeats the purpose of a 24-bit color display.

Try this:

1. Before you open *any* graphics windows in IDL
(check your startup file to be sure it doesn't open
a pixmap graphics window), type this command:

Device, True=24, Decomposed=0

2. Now you will be using a 24-bit TrueColor visual.
Confirm it by typing this:

Device, Get_Visual_Name=thisVisual, Get_Visual_Depth=thisDepth
Print, thisVisual, thisDepth

Or, if you have an older version of IDL:

Help, /Device

In this mode you can display as many images as you
like with as many color tables as you can dream up.
They will all exist simultaneously on your display.
Simply load the color table associated with an image
and display the image. (Be *sure* you set color
decomposition OFF.) Loading the second (any any
subsequent) color table will NOT affect any of the
image colors that are previously on the display.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[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 10:57:06 PDT 2025

Total time taken to generate the page: 0.87956 seconds