Convert PDN to XPM

Turn PDN images into XPM. The visible layers are combined with their blend modes and opacity as Paint.NET up to version 5.1 flattens them.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

One flat XPM file from a layered Paint.NET image.The visible layers are merged into one picture and written as C source text.

  1. What you get

    One XPM file, an X11 pixmap written as C source text. It holds a color palette and keeps transparency.

    The visible layers are combined using their blend modes and opacity, the way Paint.NET up to version 5.1 flattens them. The result is a single flat image.

  2. What it leaves behind

    The layers do not carry over. A PDN file keeps every layer on its own, and an XPM file holds one picture, so the layers become one image and cannot be separated again in the XPM.

    Only visible layers are used. Layers that are hidden in the PDN file do not appear in the result.

PDN and XPM.What each format is.

The formats

From · PDN

Paint.NET Image

Paint.NET's layered image format: every layer at full canvas size with its blend mode and opacity, and only a small thumbnail of the whole picture.

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

terminal
$ cv convert photo.pdn photo.xpm
$ cv convert photo.pdn photo.xpm

Questions.What people ask about PDN to XPM.

01OF 04

No. The visible layers are combined into one flat image, using each layer's blend mode and opacity.

Yes. The XPM is written with transparency.

No. Only the visible layers are combined.

It is C source text in the X11 pixmap format, with a color palette and the image data. See every XPM conversion for other ways to make one.

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