Convert XPM to JXL

Turn XPM images into JXL. A JPEG XL picture at the same size, lossy at quality 90 unless asked otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An XPM icon as a JPEG XL picture.The picture keeps its width and height. It is lossy at quality 90 unless you say otherwise.

  1. What you get

    One JXL file at the same size as the XPM. JPEG XL is a modern image codec with lossless JPEG recompression and very high quality per byte.

    XPM stores an image as C source. The JXL file holds the picture itself, so you can open it as an image.

  2. Setting the quality

    Set Quality to a value from 1 to 100. The default is 90. Higher values keep more detail and make a bigger file.

    Above 90 the file grows quickly while the picture barely changes. If file size matters, a value at or below 90 is the range to try.

    To go the other way, use JXL to XPM.

XPM and JXL.What each format is, and the options this conversion takes.

  1. 01 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 90

The formats

From · XPM

X PixMap

X PixMap, images as C source.

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

JPEG XL

JPEG XL, a modern image codec with lossless JPEG recompression and very high quality per byte.

Extensions
.jxl
MIME type
image/jxl
Kind
Images

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

terminal
$ cv convert photo.xpm photo.jxl
$ cv convert photo.xpm photo.jxl

Questions.What people ask about XPM to JXL.

01OF 04

Yes. The picture has the same width and height as the XPM.

No. It is lossy at quality 90 unless you change Quality. Higher values keep more detail.

It sets how much detail lossy compression keeps, from 1 to 100. Higher keeps more detail and makes a bigger file.

Usually not. Above 90 the file grows quickly while the picture barely changes.

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