Convert XPM to XCF

Turn XPM images into XCF. One layer named Background in an 8-bit GIMP image of XCF version 3, which GIMP 2.8 and later open, with tiles compressed 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 picture as a GIMP file.You get one XCF file with a single layer named Background.

  1. What you get

    One XCF file in GIMP's native format. It holds one layer named Background in an 8-bit GIMP image.

    The file is XCF version 3, which GIMP 2.8 and later open. Its tiles are compressed without loss.

  2. What changes

    Transparency is kept, so see-through areas of the XPM stay see-through in the XCF.

    Metadata is dropped. The XCF holds the picture and not the metadata of the XPM.

  3. Going the other way

    To get a picture back out of a GIMP file, use XCF to XPM. For other conversions with these formats, see every XCF conversion.

XPM and XCF.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 · XCF

GIMP Image

GIMP's native image format with layers.

Extensions
.xcf
MIME type
image/x-xcf
Kind
Images

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

terminal
$ cv convert photo.xpm photo.xcf
$ cv convert photo.xpm photo.xcf

Questions.What people ask about XPM to XCF.

01OF 04

GIMP 2.8 and later open it, because the file is XCF version 3.

No. It has one layer, named Background.

Yes. Transparent areas of the XPM stay transparent in the XCF.

No. The tiles are compressed without loss.

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