Convert PNM to XCF

Turn PNM 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 PNM files on the dialor turn it to pick what to do

A PNM image as a GIMP file.You get one XCF file with a single layer, ready to open in GIMP.

  1. What you get

    One XCF file made from your PNM image. 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. The tiles are compressed without loss.

  2. What it leaves behind

    Metadata is dropped. The XCF file does not carry over any metadata from the PNM file.

    The PNM file has no layers, so the result has only the one Background layer. Add further layers in GIMP once you open the file.

  3. Going the other way

    To turn an XCF file back into a PNM image, use XCF to PNM.

PNM and XCF.What each format is.

The formats

From · 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
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 PNM to XCF conversion through the API, for your app or your agent.

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

Questions.What people ask about PNM to XCF.

01OF 04

The source formats are PBM, PGM and PPM, which are all portable anymap images. Files with the extensions pnm, ppm, pgm and pbm are covered.

GIMP 2.8 and later open it. The file is XCF version 3.

It has one layer, named Background. The PNM image becomes that layer.

The tiles are compressed without loss. Metadata is dropped.

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