Image MIME Reference
Compressed-XCF
Compressed GIMP XCF Image
image/x-compressed-xcf
VS
Kodak KDC Raw Image
image/x-kodak-kdc
Kodak-KDC
A complete technical comparison of Compressed GIMP XCF Image and Kodak KDC Raw Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Compressed-XCF | Kodak-KDC |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | Yes | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
Compressed GIMP XCF Image
image/x-compressed-xcf
Extension
.xcf.gz.xcf.bz2.xcfgz.xcfbz2
Container
Gzip or Bzip2 Archive
Compression
Gzip (Deflate) / Bzip2
Algorithm
DeflateBWT (Burrows-Wheeler)
Color Depth
8-bit (Per Channel), 16-bit (Integer/Floating Point), 32-bit (Integer/Floating Point)
Developed by
The GIMP Team
Released
1995
Magic Bytes
1F 8B 08 (gzip) or 42 5A 68 (bzip2)
Kodak KDC Raw Image
image/x-kodak-kdc
Extension
.kdc
Container
TIFF/EP
Compression
Uncompressed / Proprietary Lossless
Algorithm
NoneLossless JPEG (ITU-T81)Proprietary Kodak Compression
Color Depth
10-bit, 12-bit (Per Channel)
Developed by
Eastman Kodak Company
Released
1995
Magic Bytes
49 49 2A 00 or 4D 4D 00 2A
Browser Support Comparison
| Browser | Compressed-XCF | Kodak-KDC |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Compressed-XCF
Compressed-XCF Strengths
- Drastically reduces the massive file sizes of standard XCF project files, saving significant disk space
- Preserves 100% of the non-destructive editing data (layers, masks, paths, guides) from the GIMP workspace
- Uses standard, universally supported compression algorithms (gzip/bzip2) meaning the archive can be rescued or extracted by standard OS tools if GIMP is unavailable
Limitations
- Increases file load and save times due to the CPU overhead required to compress and decompress the massive pixel arrays
- Impossible for automated tools to parse metadata or dimensions without first unarchiving the payload into memory
- File extension combinations (.xcf.gz) can confuse basic MIME sniffers which stop reading at the .gz extension
Kodak-KDC
Kodak-KDC Strengths
- Preserves original raw sensor data, allowing modern demosaicing software to extract significantly more detail and dynamic range than the camera's built-in JPEG engine could at the time
- Utilizes the standard TIFF container structure, ensuring broad compatibility with open-source decoding libraries (like LibRaw)
Limitations
- Completely obsolete proprietary format tied to a defunct line of consumer digital cameras
- Subject to widespread misidentification by automated MIME detection libraries due to structural similarities with standard TIFFs
- Cannot be natively viewed in web browsers or standard operating system image viewers without specialized decoders
When to choose which format
Compressed-XCF
Use Compressed-XCF when…
- GIMP Multi-layer Project Archival
- Saving disk space for complex raster edits
- Open-source graphic design workflows
Kodak-KDC
Use Kodak-KDC when…
- Vintage Digital Photography Archival
- Kodak DC and EasyShare P-Series Raw Post-Processing
- Historical Imaging Research