XCF (file format)
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)(Learn how and when to remove this template message)
|Internet media type|
XCF, short for eXperimental Computing Facility, is the native image format of the GIMP image-editing program. It saves all of the data the program handles related to the image, including, among others, each layer, the current selection, channels, transparency, paths and guides.
The XCF file format is backward compatible (all versions of GIMP can open earlier versions' files) and in some cases, forward compatible. For example, GIMP 2.0 can save text in text layers while GIMP 1.2 can not. Text layers saved in GIMP 2.0 will open as ordinary image layers in GIMP 1.2. However, XCF files containing layer groups, a feature introduced in GIMP 2.7, cannot be opened with GIMP 2.6.
The use of XCF as a data interchange format is not recommended by the developers of GIMP, since the format reflects GIMP's internal data structures, and there may be minor format changes in future versions. A collaborative effort between the developers of GIMP and Krita is underway to design a raster file format called OpenRaster, modelled on the OpenDocument format, for use in both applications in a future version.
GIMP's Save dialog saves in the XCF format: starting with version 2.8, the other formats were moved to an Export dialog.
XCF is used as a file format in other programs besides GIMP:
- Seashore is a lightweight native Mac OS X image editing program based on GIMP.
- CinePaint is a fork of GIMP with support for 16-bit and 32-bit floating point channels, and 16-bit integer channels. The XCF file format used in CinePaint has diverged from the GIMP's native format, so XCF files created in GIMP cannot be opened in CinePaint, and vice versa.
Some image viewers and conversion software can read the format with varying degrees of success:
- DBGallery displays multi-layer non-indexed images and allows indexing, searching and other photo database operations.
- ImageMagick has an XCF reader module that can read single-layer non-indexed images.
- Project Dogwaffle including PD Pro, PD Particles and PD Artist imports XCF files using the ImageMagick library.
- Krita imports XCF files using the GraphicsMagick library.
- Kolourpaint can read XCF files using KDE's image I/O library plugin, like any other KDE program.
- Gwenview can display multi-layer non-indexed images.
- Digikam can display multi-layer non-indexed images.
- Imagine can display single-layer non-indexed images.
- XnView can display single-layer non-indexed images.
- Inkscape added support for XCF export in the 0.44 release.
- IrfanView can display multi-layer images (composite image and individual layers) with a plugin.
- Paint.NET can load and save multi-layer .xcf/.xcfgz/.xcfbz2 images (via ImXCF.FileType plugin).
- Chasys Draw IES can load and save multi-layer .xcf/.xcfgz/.xcfbz2 images (from version 3.71.02).
- Wikimedia Commons supports XCF.
- Corel Photo-Paint can load multi-layer images, support some layer modes, don't support layer mask, paths.
- Photopea is online image editor and can open XCF files and convert to other formats including Photoshop's PSD.
Software development with:
- "Partial Specification of the XCF File Format". 2006-07-11. Retrieved 2014-05-21.
The name XCF honors GIMP's origin at the eXperimental Computing Facility of the University of California at Berkeley.
- Neumann, Sven (2001-12-16). "Re: XCF support added to ImageMagick". gimp-developer (Mailing list).
- "About". Seashore. Retrieved 2015-01-03.
- "Inkscape 0.44 Release Notes".
The new XCF output extension exports all top-level elements (i.e. layers and objects directly under root) as PNGs and assembles them into an XCF for procesing in GIMP.
- "IrfanView formats". Irfanview.com. Retrieved 1 March 2014.
- "Source code for SDL's XCF Loader". hg.libsdl.org. Retrieved 2018-06-09.
|Wikimedia Commons has media related to XCF (file format).|