Convert JNG to XBM

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

A black and white XBM from a JNG.The result is one X11 bitmap, written as C source text.

  1. What you get

    One XBM file. It is an X11 bitmap in black and white only, so every pixel of the output is one of two colors.

    XBM stores its picture as C source text. You can open the file in a text editor, and you can include it in a C program.

  2. What changes

    The JNG is a JPEG picture from the MNG family, and it can carry a PNG-style transparency channel. The output is black and white only, so the colors of the picture do not carry over.

    If you need the picture in color, keep the JNG. To go the other way, use XBM to JNG.

JNG and XBM.What each format is.

The formats

From · JNG

JNG

JPEG Network Graphics, a JPEG picture with a PNG-style transparency channel from the MNG family.

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

terminal
$ cv convert photo.jng photo.xbm
$ cv convert photo.jng photo.xbm

Questions.What people ask about JNG to XBM.

01OF 04

No. XBM here is black and white only. Every pixel is one of two colors.

C source text that describes the bitmap. It is an X11 bitmap, so it is plain text and not a binary picture.

Yes, a conversion in that direction exists: XBM to JNG. The colors that were dropped do not come back.

One file. Each JNG gives one XBM.

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