Quote:>I am having trouble displaying 8-bit images in 24-bit mode vice versa.
>I have images in XWD format and when i display them using the "xwud"
>utility, the image is displayed but everything in the background
>changes its color. The background turns normal only when I unselect or
>close this image window.
Sounds like a colormap problem. When that window has focus, it grabs
the colormap and uses it for its own purposes. Thus the image will display
colors correctly, but the background (and everything else) will show weird
colors -- because the colormap has been 'taken over' by the image, leaving
insufficient colors for everything else (or something). This problem used to
happen to me when I ran Netscape. As soon as that window got focus, every
other window and the background went to bizarro city, colorwise. I recall
something in the setup options about using a custom (as opposed to the
standard colormap -- I *think*) that cured this.
From man xwud:
-new This option forces creation of a new colormap for displaying the
image. If the image characteristics happen to match those of
the display,this can get the image on the screen faster, but at
the cost of using a new colormap (which on most displays will
cause other windows to go technicolor).
This option causes the image to be displayed using the specified
Standard Colormap. The property name is obtained by converting
the type to upper case, prepending "RGB_", and appending "_MAP".
Typical types are "best", "default", and "gray". See xstd-
cmap(1) for one way of creating Standard Colormaps.
You might want to investigate this colormap thing, as it sounds as
if that's what is happening. I've never used xwud, so I can't really help
you more. I just took the easy way out and bought a video card with
sufficient on board RAM to support multiple colormaps. That seems to be the
best answer, actually. Get a vid card with more on board RAM (or upgrade
your existing vid card). 16megs should do it nicely, but 8 will prob be
sufficient. If you already have such a card, you might want to check to see
if the correct amount of video RAM is listed in your /etx/X11/XF86Config* file.
Eclectic Garbanzo BBS, (707) 539-1279
"My parents just came back from a planet where the * lifeform
had no bilateral symmetry, and all I got was this stupid F-Shirt."