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.

  1. 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.

  2. 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.

  3. 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

From · XPM

X PixMap

X PixMap, images as C source.

Extensions
.xpm
MIME type
image/x-xpixmap
Kind
Images
To · XBM

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.

terminal
$ cv convert photo.xpm photo.xbm
$ cv convert photo.xpm photo.xbm

Questions.What people ask about XPM to XBM.

01OF 04

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.

More conversions.Other ways in and out of XPM and XBM.