Re: FVWM: Pixmap not shown with many colors

From: Cameron Simpson <cs_at_zip.com.au>
Date: Tue, 26 Nov 2002 13:09:45 +1100

On 15:58 25 Nov 2002, Ben Sferrazza <bsferraz_at_lsil.com> wrote:
| Olivier Chapuis wrote:
| > On Mon, Nov 25, 2002 at 12:43:14PM -0800, Ben Sferrazza wrote:
| > > I'm trying to add a background to my menus and used the MenuFace
| > > TiledPixmap foo.xpm command under MenuStyle *. The pixmap seems to load
| > > OK, but it's displayed as the dithering of very few colors (looks
| > > awful). I'm using 2.5.4 on Solaris, and built fvwm with XPM and
| > > PNG support with no problem. My Icons, such as Netscape, appear in
| > > color with no problem. Do I have to explicitly specify somewhere in the
| > > .fvwm2rc file to use a certain number of colors for pixmaps?
| >
| > Do you have a screen which can use 256 colours only
|
| Definitely not. I can view the pixmap file fine with 'xv'. Not to mention
| browsing the web or viewing images certainly shows more than 256 colors.

I would add that I am in the same boat. I have some backdrops that never seem
to come out with correct colour (look badly dithered to a small colourmap, very garish).
Whilend others that come out fine.

I'm fairly sure that it's image specific. I'll try to verify this later
today and if so, email you a "good" PNG and a "bad" PNG. With your
consent, naturally - they're probably large. And I haven't eliminated
mogrify from suspicion at my end yet, but I suspect it's not the culprit.

As with Ben, I'm using 2.5.4, full colour display.

I'm using a PNG generated from a JPG with ImageMagick's modulate command, thus:

        mogrify -modulate 70 -format PNG tmpfile.jpg

and applying it like this:

        ColorSet 0 AspectPixmap "tmpfile.png"

Internally, is FVWM on a full colour display making some kind of mapped
colour image when it sets up the Pixmap for a menu background?
-- 
Cameron Simpson, DoD#743        cs_at_zip.com.au    http://www.zip.com.au/~cs/
A file that big?
It might be very useful.
But now it is gone.
- Haiku Error Messages http://www.salonmagazine.com/21st/chal/1998/02/10chal2.html
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Nov 25 2002 - 21:10:26 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST