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

Home » Public Forums » archive » Re: Using the most colors in tvscl
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: Using the most colors in tvscl [message #6729 is a reply to message #6728] Mon, 05 August 1996 00:00 Go to previous message
MICHEL KRUGLANSKI is currently offline  MICHEL KRUGLANSKI
Messages: 14
Registered: August 1996
Junior Member
Walid Atia wrote:
>
> Since there appear to be quite a few color experts out there, I was
> wondering if anyone has addressed this problem. I'm running IDL 4.0.1
> on a Windows 95 platform. The system variable !D.N_COLORS=65536, which
> I assume means that this is the maximum number of displayable colors. I
> have some 12-bit data (0-4095) that would ideally be scaled into 12-bit
> color data--however, when using tvscl, although this is a "true-color
> device", as indicated by help,/device, only 256 colors are displayed. I
> tried making up a table via a=indgen(4096), tvlct,a,a,a, which should
> give a grey-scale intensity image from 0-4095, but it does not appear to
> affect the display (i.e. changing it to a=indgen(10) still gives the
> same picture for dist(400)).
>

Check:
tv,/words
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: 24-bit color
Next Topic: Getting too many resize events

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

Current Time: Wed Oct 08 19:35:54 PDT 2025

Total time taken to generate the page: 0.00428 seconds