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

Home » Public Forums » archive » tvrd and device,decomposed=0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
tvrd and device,decomposed=0 [message #19778] Wed, 26 April 2000 00:00
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Hi David and all others,

This may be again a favourite question about color problems, I hope not.


If I have a true color table and I have set device,decomposed=0
the online help says:

Online Help:
"Set this keyword to 0 to cause the least-significant 8 bits of the
color index value to be interpreted as a PseudoColor index.
This setting allows users with DirectColor and TrueColor displays
to use IDL programs written for standard, PseudoColor displays
without modification."

WITHOUT MODIFICATION: :-(
=====================


I have to use tvrd() by the true=1 keyword.

The TVLCT,red,green,blue,/get returns colors which I have to translate
by
color_quan to pseudocolor.

I don't know how I get the same colors by color_quan as someone using
only 8-Bit colors.

If the device graphics mode is changed from 3 to 6 and back the colors
are mixed. This did not happen if I have used 8-Bit colors.

Why are the results of tvrd and tvlct not itself changed automaticly
to pseudo_color?



R.Bauer
[Message index]
 
Read Message
Previous Topic: Re: tvrd and device,decomposed=0
Next Topic: Re: linking programs/ procedures

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

Current Time: Sat Oct 11 01:28:52 PDT 2025

Total time taken to generate the page: 1.12068 seconds