Convert QOI to XPM

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

An image written as C source.A QOI picture becomes an X11 pixmap with a color palette and transparency.

  1. What you get

    One XPM file. XPM is X PixMap, a format that stores an image as C source text. The file is plain text, so a C program can include it.

    The picture is written with a color palette. Transparency is kept as well, so see-through areas of the QOI image stay see-through in the XPM.

  2. Going the other way

    QOI is a lossless image format that is small and simple to decode. To turn an XPM back into QOI, use XPM to QOI.

QOI and XPM.What each format is.

The formats

From · QOI

QOI

The Quite OK Image format: lossless, tiny, and trivial to decode.

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

terminal
$ cv convert photo.qoi photo.xpm
$ cv convert photo.qoi photo.xpm

Questions.What people ask about QOI to XPM.

01OF 04

It is an X PixMap, an image stored as C source. This conversion writes it with a color palette and transparency.

Yes. The conversion writes the transparency into the XPM along with the color palette.

Yes. XPM is C source text, so the file is readable as text.

One file. Each conversion produces a single XPM.

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