Convert BMP to XBM

Turn BMP 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 BMP files on the dialor turn it to pick what to do

A black and white bitmap as C source.The BMP becomes an X11 bitmap in text form. You get one file.

  1. What you get

    An XBM file, which is an X11 bitmap written as C source text. The image is black and white only.

    The result is one file. You can open it in a text editor, since the pixels are stored as source code and not as a binary image.

  2. What changes

    A BMP can hold more than two colors. XBM holds only black and white, so the output has just those two.

    The file type changes too. A BMP is a Windows bitmap that stores pixels directly. An XBM is monochrome image data written as C source.

  3. Going the other way

    To turn an XBM back into a Windows bitmap, use XBM to BMP. This conversion has no options to set, so there is nothing to adjust before you convert.

BMP and XBM.What each format is.

The formats

From · BMP

Bitmap

Windows bitmap. Uncompressed pixels, large files, read by everything.

Extensions
.bmp .dib
MIME type
image/bmp
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 BMP to XBM conversion through the API, for your app or your agent.

terminal
$ cv convert photo.bmp photo.xbm
$ cv convert photo.bmp photo.xbm

Questions.What people ask about BMP to XBM.

01OF 04

It is an X BitMap, a monochrome image written as C source. It holds black and white only.

No. The output is black and white only, so the colors of the BMP are not kept.

Yes. XBM is C source text, so the file reads as text.

No. There are no options to set. The conversion gives one XBM file.

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