Convert XCF to PNG

Turn XCF images into PNG. The visible layers combined the way GIMP shows them, with their blend modes, opacity, masks and groups, at full size with transparency.

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 PNG of your GIMP image.The visible layers are combined as GIMP shows them, at full size.

  1. What you get

    One PNG with the visible layers combined the way GIMP shows them. Blend modes, opacity, masks and groups are applied, and transparency is kept.

    The PNG has the same width and height as the XCF. If the image is deeper than 8 bits, the PNG is 16-bit.

  2. What it leaves behind

    The layers. A PNG is a single flat image, so the result has no layers to edit. To work with layers again, you need a file made for them, and PNG to XCF goes the other way.

    Files with active non-destructive filters from GIMP 3 are not supported, since only GIMP can apply them. Such a file ends with unsupported_elements, which means the file holds something the target cannot carry.

  3. Options

    Set Max width or Max height to shrink a large image while keeping its shape. An image smaller than the limit stays as it is, so nothing is enlarged.

    Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

  4. Failed conversions

    A file that cannot be parsed stops with input_corrupted. The file is not read as a valid XCF.

XCF and PNG.What each format is, and the options this conversion takes.

  1. 01 · grayscale

    Grayscale

    Turns colors into shades of gray, which often makes the file smaller.

  2. 02 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  3. 03 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000
  4. 04 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270

The formats

From · XCF

GIMP Image

GIMP's native image format with layers.

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

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

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

terminal
$ cv convert photo.xcf photo.png
$ cv convert photo.xcf photo.png

Questions.What people ask about XCF to PNG.

01OF 04

No. The visible layers are combined into one flat image. Blend modes, opacity, masks and groups are applied first.

Yes. The PNG is made at full size with transparency.

The file holds something PNG cannot carry. This includes files with active non-destructive filters from GIMP 3, because only GIMP can apply them.

Yes. Set Max width, Max height or both, and anything larger than the limit shrinks with its shape kept.

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