Convert KRA to XPM

Turn KRA images into XPM. The flattened picture Krita saves inside the file is read; layers are not read one by one.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A Krita painting as C source text.The result is 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. The file is text, so you can read it and include it in a C program.

    The image uses a color palette, and transparent areas stay transparent.

  2. About the source file

    KRA is Krita's native layered painting format. It is a zip that holds the layers and a merged preview. XPM is a single flat image, so the result is one picture and not a set of layers.

  3. Related conversions

    See every KRA conversion for other formats you can make from a Krita file. See every XPM conversion for other ways to make an XPM.

KRA and XPM.What each format is.

The formats

From · KRA

Krita Document

Krita's native layered painting format. A zip with the layers and a merged preview.

Extensions
.kra
MIME type
application/x-krita
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 KRA to XPM conversion through the API, for your app or your agent.

terminal
$ cv convert photo.kra photo.xpm
$ cv convert photo.kra photo.xpm

Questions.What people ask about KRA to XPM.

01OF 04

It is an X PixMap, an image written as C source. You can open it in a text editor.

Yes. The XPM supports transparency, and transparent areas stay transparent.

No. XPM holds one image, so you get a single picture and not separate layers.

One file. The conversion writes a single XPM.

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