Convert XPM to XBM
Turn XPM images into XBM. An X11 bitmap in black and white only, written as C source text.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop XPM files on the dialor turn it to pick what to do
A black and white XBM bitmap.The result is an X11 bitmap written as C source text.
What you get
One XBM file. It is an X11 bitmap in black and white only, written as C source text, so you can open it in a text editor as well as in programs that read X bitmaps.
What changes
XPM images can hold colors. XBM holds only two, black and white, so the output is a monochrome version of your image. Colors are not kept.
Related conversions
To go the other way, use XBM to XPM. XBM is a monochrome format, so it does not carry the colors of an XPM image back.
XPM and XBM.What each format is.
The formats
X PixMap
X PixMap, images as C source.
- Extensions
- .xpm
- MIME type
- image
/x -xpixmap - Kind
- Images
X BitMap
X BitMap, monochrome images as C source.
- Extensions
- .xbm
- MIME type
- image
/x -xbitmap - Kind
- Images
In your code.The same XPM to XBM conversion through the API, for your app or your agent.
$ cv convert photo.xpm photo.xbm$ cv convert photo.xpm photo.xbmQuestions.What people ask about XPM to XBM.
No. The XBM is black and white only. Colors in the XPM are not kept.
Yes. XBM is C source text, so the file is readable as text.
One file. The conversion writes a single XBM.
Yes. Use XBM to XPM. The result starts from a black and white image.