Convert XPM to APNG

Turn XPM images into APNG. An APNG of one still frame with the same pixels and transparency, without loss.

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 image as a one-frame APNG.The pixels and the transparency carry over without loss.

  1. What you get

    One APNG file with a single still frame. The pixels are the same as in the XPM, and so are the transparent areas.

    Nothing is lost in the conversion. The picture looks as it did, now in a format that holds full-color images with alpha.

  2. What it does not add

    The result is not animated. An XPM holds one picture, so the APNG has one frame and nothing moves.

    If you need the picture back as C source, APNG to XPM goes the other way.

XPM and APNG.What each format is.

The formats

From · XPM

X PixMap

X PixMap, images as C source.

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

Animated PNG

Animated PNG, full-color animation with alpha.

Extensions
.apng
MIME type
image/apng
Kind
Images

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

terminal
$ cv convert photo.xpm photo.apng
$ cv convert photo.xpm photo.apng

Questions.What people ask about XPM to APNG.

01OF 04

Yes. Transparent areas in the XPM stay transparent in the APNG.

No. The pixels and the transparency are the same as in the XPM.

No. It has one still frame, because the XPM holds a single image.

Yes. Use APNG to XPM for that.

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