Convert JNG to XPM

Turn JNG images into XPM. An X11 pixmap written as C source text, with a color palette and transparency.

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 JNG picture as XPM source text.You get one XPM file that holds the image as C source.

  1. What you get

    One X PixMap file. XPM writes an image as C source text, so the file is plain text that a C program can include.

    The file has a color palette and keeps transparency. The picture's colors are listed in the palette, and transparent areas stay transparent.

  2. What to know

    JNG is a JPEG picture with a PNG-style transparency channel. XPM has a color palette and a place for transparency, so the picture and its see-through areas both have somewhere to go.

    To go the other way, use XPM to JNG. For other conversions from this format, see every JNG conversion.

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

X PixMap

X PixMap, images as C source.

Extensions
.xpm
MIME type
image/x-xpixmap
Kind
Images

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

terminal
$ cv convert photo.jng photo.xpm
$ cv convert photo.jng photo.xpm

Questions.What people ask about JNG to XPM.

01OF 04

Yes. The output has a color palette and transparency, so transparent areas of the JNG stay transparent.

It is an X11 pixmap written as C source text. The image is stored as text, not as binary data.

One file. The conversion writes a single XPM.

No. This conversion has no options.

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