Convert XBM to PNM

Turn XBM images into PNM. A Netpbm picture with the same pixels, uncompressed, so the file is large.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A Netpbm picture from an XBM file.The pixels stay the same. The file is uncompressed and large.

  1. What you get

    One PNM file with the same pixels as the XBM. PNM is the simplest raster format, and it covers PBM, PGM and PPM.

    The picture is stored uncompressed, so the file is large.

  2. What changes

    XBM holds a monochrome image written as C source. PNM is a plain image file, so the C source form is not kept. Only the picture is.

    To go back the other way, use PNM to XBM.

XBM and PNM.What each format is.

The formats

From · XBM

X BitMap

X BitMap, monochrome images as C source.

Extensions
.xbm
MIME type
image/x-xbitmap
Kind
Images
To · PNM

Portable Anymap

Portable anymap images, the simplest raster format: PBM, PGM and PPM.

Extensions
.pnm .ppm .pgm .pbm
MIME type
image/x-portable-anymap
Kind
Images

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

terminal
$ cv convert photo.xbm photo.pnm
$ cv convert photo.xbm photo.pnm

Questions.What people ask about XBM to PNM.

01OF 04

No. The PNM has the same pixels as the XBM.

PNM is stored uncompressed. That makes the file large.

PNM files use pnm, ppm, pgm or pbm. The format covers PBM, PGM and PPM images.

Yes. Use PNM to XBM for that.

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