Convert XBM to PNG

Turn XBM images into PNG. Same size in black and white.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An XBM image as a PNG file.The picture keeps its size and stays in black and white.

  1. What you get

    A PNG with the same width and height as the XBM. The image stays black and white. You get one file.

    XBM stores a monochrome image as C source. PNG is a lossless raster format, so the result opens as an ordinary image.

  2. Options

    Set Max width or Max height to shrink a large image. The shape is kept. An image that is already narrower or shorter stays as it is, so nothing is enlarged. Both accept 1 to 20000 pixels.

    Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

  3. When it stops

    If the file cannot be parsed, the conversion stops with input_corrupted. This means the XBM is damaged or is not a valid XBM file.

    To go the other way, use PNG to XBM.

XBM and PNG.What each format is, and the options this conversion takes.

  1. 01 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  2. 02 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000
  3. 03 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270

The formats

From · XBM

X BitMap

X BitMap, monochrome images as C source.

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

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

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

terminal
$ cv convert photo.xbm photo.png
$ cv convert photo.xbm photo.png

Questions.What people ask about XBM to PNG.

01OF 04

Yes. The width and height stay the same unless you set Max width, Max height or Rotate.

Yes. The PNG stays in black and white.

No. Max width and Max height only shrink an image. Anything smaller than the limit stays as it is.

The file could not be parsed, so the conversion stops with input_corrupted.

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