Convert XCF to PNM

Turn XCF images into PNM. The visible layers are combined the way GIMP shows them, with their blend modes, opacity, masks and groups.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A flat PNM picture from your GIMP file.The visible layers are merged into one image, as GIMP shows it.

  1. What you get

    One PNM file with the same pixels as the image you see in GIMP. The visible layers are combined with their blend modes, opacity, masks and groups.

    PNM is a Netpbm picture with no compression, so the file is large.

  2. What it leaves behind

    Transparency is dropped. The output holds the merged picture only, and the layers are not kept as separate parts.

    Files with active non-destructive filters from GIMP 3 are not supported, since only GIMP can apply them.

  3. Going the other way

    To bring a PNM picture back into GIMP, use PNM to XCF. For other PNM outputs, see every PNM conversion.

XCF and PNM.What each format is.

The formats

From · XCF

GIMP Image

GIMP's native image format with layers.

Extensions
.xcf
MIME type
image/x-xcf
Kind
Images
To · PNM

Portable Anymap

Portable anymap images, the simplest raster format: PBM, PGM and PPM.

Extensions
.pnm .ppm .pgm .pbm
MIME type
image/x-portable-anymap
Kind
Images

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

terminal
$ cv convert photo.xcf photo.pnm
$ cv convert photo.xcf photo.pnm

Questions.What people ask about XCF to PNM.

01OF 04

No. The visible layers are combined into one picture, and the output is a single file.

Yes. The layers are combined the way GIMP shows them, with their blend modes, opacity, masks and groups.

PNM is uncompressed, so the file is large.

No. Transparency is dropped in the PNM file.

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