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

Home » Public Forums » archive » changing the color map without having to re-load an image
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: changing the color map without having to re-load an image [message #30068 is a reply to message #29977] Wed, 03 April 2002 07:51 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
"Marc Sauvage" <msauvage@cea.fr> wrote in message
news:59bc2798.0204030112.6e521c7e@posting.google.com...
< snip >
> I checked on both the Mac and the unix server which types of visual
> were supported (with xpdyinfo) and apparently the same types are
> supported on both side. Currently I'm set to true_color. Also worth
> knowing: my version of IDL is 5.4.
>
> Anyone with ideas on how to solve this problem is welcome.
>
> Marc.

On my Xdarwin (based on XFree 4.2) here, the X server reports only 24-bit
TrueColor (immutable) visuals - no 8-bit visuals. The lack of support for
an
indexed visual or a visual with a writable colormap would
indeed prevent you from doing fast color table animation. It would be nice
if these X servers would support an 8-bit PseudoColor visual - so many X
apps "rely" on that.

If you really do have an 8-bit PseudoColor visual on your server, then
perhaps DEVICE,
PSEUDO_COLOR = 8 (before creating a window) would force IDL to use the 8-bit
visual.

Karl
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: sec : U Re: analyze reader and writer in IDL?
Next Topic: Re: idl -rt as cron job

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

Current Time: Fri Oct 10 09:37:56 PDT 2025

Total time taken to generate the page: 1.35787 seconds