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

Home » Public Forums » archive » Re: IDL/Linux color table problems
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: IDL/Linux color table problems [message #33110 is a reply to message #33087] Tue, 03 December 2002 09:22 Go to previous messageGo to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
"David Oesch" <oesch@giub.unibe.ch> wrote in message
news:3DECC898.4070306@giub.unibe.ch...
> Try
>
> http://www.rsinc.com/services/output.cfm?tip_id=3318

This tip really only applies to IDL 5.5 on some 24-bit X servers. The OP is
using IDL 5.4 and probably an 8-bit X server.

It is hard to diagnose the problem exactly, but this sounds like the classic
X "technicolor" problem that is common to many color intensive applications
running on 8-bit X servers. There is some discussion of this issue in the
IDL docs. The basic problem arises because multiple X clients are competing
for a limited set of colors in the 256-color X color table (colormap). Here
are a few general suggestions:

- Configure your X server to start in 16-bit or 24-bit mode, if your video
system supports it. If you are running XFree86, try one of the various X
configuator programs that come with your Linux distro.
- Reduce the color requirements of your other clients. This might mean
shutting down some "color hogs" like image editors and viewers.
- Your window manager and desktop gadgets are clients too. Many desktops
have applets that let you set the number of colors your desktop will use up.
In the extreme case, you can perhaps get it down to two - black and white,
as is possible with CDE.
- Reduce the color demands of IDL. See the IDL help items for using color
in the X windows environment.

If you are absolutely stuck on 8-bit and your IDL app needs to display
(nearly) 256 private colors, then it is pretty hard to avoid the flashing
"technicolor" effect. A lot of 8-bit X windows users accept and tolerate
this effect; it has been around for over a decade.

We can get into more detail here, if you like.

Karl
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Having problems with the modulo operator
Next Topic: Re: builtin simplex?

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

Current Time: Sat Oct 11 16:15:38 PDT 2025

Total time taken to generate the page: 0.56222 seconds