Convert XPM to BMP

Turn XPM images into Bitmap. Same pixels without compression, so the file is large.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop XPM files on the dialor turn it to pick what to do

An XPM image as a plain BMP.The pixels stay the same. The file comes out uncompressed.

  1. What you get

    One BMP with the same pixels as the XPM, with no compression applied. BMP is a Windows bitmap that almost every program can read.

  2. What to expect

    The BMP file is large, because BMP stores pixels without compression. XPM holds an image as C source, and the bitmap holds the same picture as raw pixel data.

    Transparency is kept. The BMP is written as a 32-bit bitmap to hold it, and some older programs show transparent areas on black.

  3. Going the other way

    To turn a bitmap back into C source, use BMP to XPM.

XPM and BMP.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 · BMP

Bitmap

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

Extensions
.bmp .dib
MIME type
image/bmp
Kind
Images

In your code.The same XPM to BMP conversion through the API, for your app or your agent.

terminal
$ cv convert photo.xpm photo.bmp
$ cv convert photo.xpm photo.bmp

Questions.What people ask about XPM to BMP.

01OF 03

Yes. It is saved as a 32-bit bitmap. Some older programs show the transparent areas on black.

BMP stores the pixels without compression. The pixels are the same as in the XPM, but they are not packed.

Yes. Use BMP to XPM for that.

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