- XCF (file format)
Infobox file format
name = XCF
icon =
caption =
extension = .xcf
mime =
type code =
uniform type =
magic =
owner =GIMP
type =
container for = Graphics
contained by =
extended from =
extended to =
standard =XCF, short for "
eXperimental Computing Facility "cite web | quote=The name XCF honors the Gimp's origin at theeXperimental Computing Facility of the University of California at Berkeley. | url=http://henning.makholm.net/xcftools/xcfspec.txt | title=Partial Specification of the XCF File Format | date=2006-07-11 | accessdate=2007-09-02] , is the native image format of theGIMP image-editing program. It supports saving each layer, the current selection, channels, transparency, paths and guides. However, unlike the native file format forAdobe Photoshop , PSD, the undo history is not saved in an XCF file.The image data saved are compressed only by a simple RLE algorithm, but GIMP supports compressed files, using either
gzip orbzip2 . The compressed files can be opened as normal image files.The XCF file format is mostly
backward 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.The use of XCF as a data interchange format is not recommended by the GIMP developers, since the format reflects the GIMP's internal data structures, and there may be minor format changes in future versions. The source code of GIMP itself (which is freely available) is the reference documentation of the format. Henning Makholm (see XCFTools below) has written a [http://svn.gnome.org/viewvc/gimp/trunk/devel-docs/xcf.txt?view=markup specification] which has been adopted by the GIMP developers. In addition, a collaborative effort between the GIMP developers and
Krita developers is underway to design a raster file format modeled on theOpen Document Format for use in both applications in a future version.Software support
XCF is used as a file format in other programs besides the GIMP:
* Seashore is a lightweight nativeMac OS X image editing program based on the GIMP.
*CinePaint is a fork of the GIMP with support for 16 bit and 32 bit floating point channels, and 16 bit integer channels. There are [http://www.linuxdevcenter.com/pub/a/linux/2004/04/29/cinepaint.html?page=2 plans] for CinePaint to move away from XCF as a file format. 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:
*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.
*ShowImg can display multi-layer non-indexed images.
*Gwenview can display multi-layer non-indexed images.
*GImageView [http://gtkmmviewer.sourceforge.net/] can display multi-layer non-indexed images.
*XnView can display single-layer non-indexed images.
*Inkscape added support for XCF export in the 0.44 release. [ [http://sourceforge.net/project/shownotes.php?release_id=426990&group_id=93438 Release Notes of Inkscape 0.44] ]
* XCFTools [http://henning.makholm.net/software] by Henning Makholm is a set of utilities which deformats and composes XCF images. It allows extraction of individual layers, or an entire composed image, as PNG or PNM.References
Wikimedia Foundation. 2010.