World Library  
Flag as Inappropriate
Email this Article

XCF (file format)

Article Id: WHEBN0000677673
Reproduction Date:

Title: XCF (file format)  
Author: World Heritage Encyclopedia
Language: English
Subject: Image file formats, Comparison of image viewers, Modular electronics schematics, Creation and usage of media files, Fotografix
Collection: Graphics File Formats
Publisher: World Heritage Encyclopedia

XCF (file format)

Filename extension .xcf
Internet media type image/xcf
Developed by GIMP
Container for Graphics

XCF, short for eXperimental Computing Facility,[1] 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 saved image data are compressed only by a simple RLE algorithm, but GIMP supports compressed files, using either gzip or bzip2. The compressed files can be opened as normal image files.

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, can't be opened with GIMP 2.6.

The use of XCF as a data interchange format is not recommended by the GIMP developers,[2] since the format reflects the GIMP's internal data structures, and there may be minor format changes in future versions. A collaborative effort between the GIMP developers and Krita developers is underway to design a raster file format called OpenRaster, modelled on the OpenDocument format, for use in both applications in a future version.

As of GIMP version 2.8 images are loaded and imported in XCF format. GIMP only supports saving in XCF format; other formats have been moved to the Export dialog.

Software support

XCF is used as a file format in other programs besides the GIMP:

  • Seashore is a lightweight native Mac OS X image editing program based on GIMP.[3]
  • CinePaint is a fork of the 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 the 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.[4]
  • IrfanView can display multi-layer images (composite image and individual layers) with a plugin.[5]
  • 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.

Software development with:

  • SDL2 supports XCF.


  1. ^ "Partial Specification of the XCF File Format". 2006-07-11. Retrieved 2014-05-21. The name XCF honors the Gimp's origin at the  
  2. ^
  3. ^ "About". Seashore. Retrieved 2015-01-03. 
  4. ^ Release Notes of Inkscape 0.44
  5. ^ "IrfanView formats". Retrieved 03-01-2014. 
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.