Q: 8bit color tables in NT 24 bit display [message #16702] |
Fri, 13 August 1999 00:00  |
suarezm
Messages: 3 Registered: July 1999
|
Junior Member |
|
|
Hi there, can anyone tell me if there is a Windows device equivalent
to the X DEVICE, PSEUDO=8 ?
I'd really rather not have to change my display through the control
panel every time I'd like to use color tables. I need to display 8-bit
images with a color table and multi-colored plots.
Thanks,
-Manuel Suarez
|
|
|
Re: Q: 8bit color tables in NT 24 bit display [message #16825 is a reply to message #16702] |
Mon, 16 August 1999 00:00  |
Liam Gumley
Messages: 473 Registered: November 1994
|
Senior Member |
|
|
David Fanning wrote:
>
> Liam Gumley (Liam.Gumley@ssec.wisc.edu) writes:
>
>> You *can* use color tables in 24-bit mode; you just can't modify them
>> interactively and have the changes immediately show up in images or
>> graphics which have previously been displayed.
>
> Uh, well, *I* use color tables interactively in my programs
> in 24-bit color, and *my* changes show up immediately--or
> at least fast enough so that none of my customers complain. :-)
>
> As a matter of fact, it is easy enough to get programs to
> work equally well in 8-bit or 24-bit mode if you know a
> couple of things about how colors work and have the right
> tools. If you don't believe me, ask anyone in my IDL
> programming class this week. *They* know how to do this. :-)
Indeed it is quite straightforward (with some programming time and
effort) to get colors to update interactively in 24-bit mode if you
design a *program* which detects when the color table is changed, and
then updates the appropriate graphics windows, either by re-executing
the display command, or by TVRDing and then TVing the contents of the
window(s).
But in the context of the original posting, where I believe the poster
was talking about basic operations at the IDL *command-line* such as
TVSCL and PLOT, I'll stand by my comments.
Cheers,
Liam.
--
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
|
|
|