On Mon, 9 Mar 1998, Mark Fardal wrote:
> could someone tell me how to get a desktop picture working?  I have an
> 8-bit .xpm image that I put in $HOME/.fvwm2/background.xpm.  But when
> I run the script setup-background, it says
>   Couldn't allocate required colors
> and does nothing.  If I make the image black-and-white it works fine.
> Is this the stupid X 256-entry colormap limitation rearing its head again?  
> (Earth to X: memory is much cheaper these days.)  How many colors am
> I allowed to have, and how do I truncate it down to that number if the
> only imaging tool I have is xv?
The 256 colors isn't an X limit, it because of your video card.  Run you card
in 16 bit or 24 bit color, or buy a card that can.  My 4MB VRAM card was only
$75 several months ago, and I run it at 1200x900 24bit.
If you want to get the # of colors down in your image, try getting netpbm or
the gimp.  I don't think you can do it with xv.  You could load netscape, then
load xv and have it dither to the common colormap.  Then start another xv and
grab the window..
|Gazing up to the breeze of the heavens \ on a quest, meaning, reason  |
|came to be, how it begun \ all alone in the family of the sun         |
|curiosity teasing everyone \ on our home, third stone from the sun.   |
|Trent Piepho (xyzzy_at_u.washington.edu)                   -- Metallica  |
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Mar 09 1998 - 18:46:28 GMT