XCF to PDF Converter

Turn a GIMP XCF into a one-page PDF you can send to anyone, without GIMP.

or drop files here

XC

XCF Format

GIMP image

GIMP's native working-image format. It retains layers and transparency, not only a flattened picture, but not the undo history.

  • Layers and transparency
  • Written by GIMP's Save command
  • Not an interchange format
  • Undo history not saved
PD

PDF Format

Portable Document Format

A fixed-page document format that can hold pictures, text and vector artwork, and looks the same wherever it is opened.

  • Fixed page size
  • Pictures, text and vectors
  • Opens in any browser
  • Easy to share

How to convert XCF to PDF

Follow these steps to convert XCF to PDF online.

    1

    Choose your XCF file, or several at once.

    2

    Wait while the converter turns each file into PDF.

    3

    Download each new PDF file. Your original file isn't changed.

What to know before converting XCF to PDF

  • The PDF has one page the size of the image, at 1 pixel per point and with no margin.
  • The picture is embedded losslessly as a PNG.
  • Layers are not kept as pages, and the PDF holds a picture and no text. Keep the XCF for editing.
  • A picture over about 537 megapixels fails to convert.
  • Each XCF gives its own PDF.

About XCF files

What is an XCF file?

XCF is GIMP's native working-image format. The file keeps layers and transparency, so work can be resumed later and not just viewed as one flat picture. It also keeps channels, paths and selections, and GIMP uses it to retain editing information between sessions. Undo history is left out. GIMP's Save command writes XCF, while other image formats go through Export.

GIMP does not present XCF as a format for exchanging images. It is a project file meant for your own editing, so most ordinary image viewers cannot read it. That is the usual reason to turn it into something shareable.

Programs that open XCF files

Windows, Mac and Linux

  • GIMP: the native editor, and saving as XCF keeps the whole working image.
  • ImageMagick: reads XCF, though an outside renderer may not reproduce every GIMP feature.

XCF is used for layered image editing and for saving work in progress, and it is lossless, so reopening the file in GIMP loses nothing.

XCF and PDF compared

  • Purpose: XCF is a working file for editing in GIMP. PDF is a fixed-page document made to be shared and read.
  • Layers: XCF keeps layers and transparency. A PDF made here holds one picture on one page.
  • Page: an XCF is a canvas of pixels. A PDF has a page size, so a viewer knows how large the page is.
  • Support: few ordinary viewers read XCF, while PDF is readable in browsers and PDF readers.
  • Editing: GIMP can reopen an XCF with every layer. A PDF of the picture cannot give the layers back.

Here is what the converter does. ImageMagick, compiled to WebAssembly, reads the XCF in your browser as a single picture, so layers are not turned into separate pages. The picture is then embedded in a PDF with pdf-lib. The document is one page sized to the picture, with each pixel counted as one point, so a canvas 1200 pixels wide makes a page 1200 points wide, about 16.7 inches. That leaves out margins and standard paper sizes. Inside ImageMagick the pixels are first turned into a PNG, and pdf-lib then places that PNG on the page. The picture goes in losslessly, which means the quality setting does not apply. Above about 537 megapixels the page declines the file with a note that it is too large. Several files are never combined into one PDF, and the XCF you chose is left unchanged. The download is named after the XCF with a .pdf ending.

Other ways to convert XCF to PDF

  • GIMP: open the XCF and choose File > Export As, or press Shift+Ctrl+E, which stores the image in a format other than XCF. Export it as PDF. The PDF options include Layers as pages, Reverse order, Root layers only, Apply layer masks, Omit hidden layers and Fill transparent areas with background color, which help for a page per layer or a solid backdrop. The dialog also offers Convert bitmaps to vector and Convert text layers to image, so check each option against what you want the PDF to hold.
  • ImageMagick: run magick project.xcf project-review.pdf. ImageMagick's formats page lists XCF as read-only and says PDF output needs Ghostscript installed. Compare the result with what you see in GIMP, since ImageMagick is a different renderer from GIMP.
  • GIMP and Preview on a Mac: export the picture you want from GIMP as a PNG and open it in Preview. Then choose File > Export, open the Format pop-up menu, choose PDF and save. Preview is working from the PNG here, not the XCF.

Problems with XCF files

  • Other software can't read it: common image viewers do not understand XCF, so export a copy from GIMP for viewing.
  • The export is flat: a flattened export does not keep every project property. Keep the XCF for future editing.
  • GIMP asks to save on exit: exporting leaves the XCF project unsaved, so the prompt still appears.
  • A layered file gives one picture: this page reads the XCF as a single image, so a layer cannot be chosen here, and layers do not become pages. GIMP's own export has Layers as pages for that.
  • It appears different elsewhere: outside programs do not replicate all of GIMP's features. Export from GIMP itself and check the output.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert XCF to PDF?

Do my layers become separate PDF pages?

What size is the PDF page?

Does the PDF reduce the picture's quality?

Can I search for words in the PDF?

Can I edit the PDF in GIMP later?

Why convert at all instead of sending the XCF?

Can I combine several XCF files into one PDF?

Is there a size limit?

Why did my XCF fail to convert?