Re: Help with xfaces questions/problems/enhancements...

Steve Kinzler ((no email))
Wed, 15 Feb 1995 12:37:36 -0500

Sent 14Feb95 from psmith@wellfleet.com to faces
+---------- Help with xfaces questions/problems/enhancements... ----------
| 1) How do I turn a pixmap into a bitmap? I have a bunch of stuff like
| xpmtoppm, etc. but no xpmtoxbm. Does such a thing exist?

Here's one way:

xpmtoppm | pnmdepth 255 | ppmtopgm | pgmnorm | pgmtopbm | pbmtoxbm

The pgmnorm is optional and the pnmdepth may not really be needed.

Plus, there's a good xpm2xbm script in
ftp://server.berkeley.edu/pub/AIcons/support.tar.gz.

-sk