ImageBinary

image/x-xcf

GIMP Image

Reference for image/x-xcf, the MIME type for GIMP's native XCF image format with full layer and channel support.

MIME Type Detector

Drop a file to detect its MIME type — no upload, runs in your browser

📄

Drop any file here or click to choose

Expected extensions: .xcf

HTTP Content-Type Header

HTTP Header
Content-Type: image/x-xcf

Associated File Extensions

.xcf

Quick Facts

MIME Typeimage/x-xcf
CategoryImage
TypeBinary
Extensions.xcf

Common Usage

XCF is GIMP's native format, preserving layers, channels, paths, and all editing information. It serves the same role as PSD for Photoshop — a working format that maintains full editability.

XCF files are converted to PNG, JPEG, or WebP for final distribution.

Code Examples

HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.xcf" type="image/x-xcf">

<!-- Or for script/media elements -->
<script type="image/x-xcf" src="file.xcf"></script>
Node.js
// Express.js
app.get('/file', (req, res) => {
  res.type('image/x-xcf');
  res.send(data);
});

// Node.js http
res.writeHead(200, { 'Content-Type': 'image/x-xcf' });
nginx
# nginx.conf — add to types block or use default
types {
    image/x-xcf  xcf;
}

# Or set for a specific location
location /api/ {
    default_type image/x-xcf;
}

Related MIME Types

More Image MIME Types

Other image types in the Image family

Related Tools

Explore More MIME Types

Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.