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

Home » Public Forums » archive » Re: Help with moving from 8 to 24 bit colour
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: Help with moving from 8 to 24 bit colour [message #17211 is a reply to message #17194] Tue, 21 September 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Surendar Jeyadev (jeyadev@wrc.xerox.com) writes:

> Was the GETCOLOR suggestion in answer to the second question that I
> asked (i.e. how do I get to see that palette?)? From what I see, that
> is not what I want. I want to be able to see the 255 colours in the
> table that I am using. When I issue the color_pallete command, I get
> a very thin window which is blank.

I don't know the Color_Palette program at all, but from your
description I am almost positive the author uses a TV
command in there. Your problem could be fixed, probably,
by adding a TRUE=1 (or whatever) keyword to that TV command.

Another alternative is to download the ancient CINDEX
program from my IDL 4 archive file. This program is so
old I believe it will still run in PV-Wave. :-)

ftp://ftp.dfanning.com/pub/dfanning/idl_examples/archive4/ci ndex.pro

If this program shows all red colors when you have a
color table loaded, then you are going to have to figure
out some way to turn color decomposition off. Are you
*sure* Device, Decomposed=0 didn't work for you. That
is a *very* old keyword, I think. If you are sure,
could you show us the result of a "Help, /Device".

Cheers,

David

P.S. I would also make sure (if you want 24-bit color) that
you get a TrueColor visual class. Something like this, I think:

Device, True_Color=24

You will have better defined behavior in this class than in
a DirectColor visual class. You can determine what class you
have by opening a graphics window and typing "Help, /Device".

--
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
Previous Topic: computer name info
Next Topic: Re: newbie question: redirect stdout?

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

Current Time: Fri Oct 10 12:59:26 PDT 2025

Total time taken to generate the page: 0.71854 seconds