Convert XBM to AVIF

Turn XBM images into AVIF. Same size in black and white, without loss.

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 bitmap as an AVIF image.Same size, black and white, without loss.

  1. What you get

    One AVIF file with the same width and height as the XBM. The image stays black and white, and the conversion is lossless.

    XBM stores monochrome images as C source. AVIF is an AV1-based image format with better compression than WebP and support for HDR and alpha.

  2. Resize and rotate

    Set Max width or Max height to shrink a large bitmap. Each keeps the shape of the image. Anything already narrower or shorter stays as it is, so nothing is enlarged. Both accept values from 1 to 20000.

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

  3. Going back

    To turn an AVIF image into an XBM, use AVIF to XBM. For other XBM conversions, see every XBM conversion.

XBM and AVIF.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 · AVIF

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

Extensions
.avif
MIME type
image/avif
Kind
Images

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

terminal
$ cv convert photo.xbm photo.avif
$ cv convert photo.xbm photo.avif

Questions.What people ask about XBM to AVIF.

01OF 04

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

No. The conversion is lossless, and the image stays black and white.

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

One file, an AVIF image.

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