Image MIME Reference
Fuji-RAF
Fujifilm RAW Image
image/x-fuji-raf
VS
GIMP Image Format
image/x-xcf
XCF
A complete technical comparison of Fujifilm RAW Image and GIMP Image Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Fuji-RAF | XCF |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
Fujifilm RAW Image
image/x-fuji-raf
Extension
.raf
Container
Proprietary RAF Container
Compression
Uncompressed / Lossless Compressed / Lossy Compressed (Modern firmware)
Algorithm
NoneProprietary LosslessProprietary Lossy
Color Depth
14-bit (Per Channel - X-Series), 16-bit (Per Channel - GFX Series)
Developed by
Fujifilm Corporation
Released
2000
Magic Bytes
46 55 4A 49 46 49 4C 4D 43 43 44 2D 52 41 57 20
GIMP Image Format
image/x-xcf
Extension
.xcf
Container
GIMP Hierarchical Chunk Container
Compression
None / RLE (Run-Length Encoding) / Zlib / Deflate (In newer GIMP versions)
Algorithm
NoneRLEZlib
Color Depth
8-bit per channel, 16-bit per channel, 32-bit floating point
Developed by
Spencer Kimball, Peter Mattis, and the GIMP Development Team
Released
1995
Magic Bytes
67 69 6D 70 20 78 63 66
Browser Support Comparison
| Browser | Fuji-RAF | XCF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Fuji-RAF
Fuji-RAF Strengths
- Retains absolute maximum sensor data, enabling massive shadow recovery and highlight protection compared to compressed in-camera JPEGs
- Stores proprietary Fujifilm Film Simulation metadata (like Classic Chrome or Acros), allowing editors to perfectly replicate in-camera aesthetics
- Very distinct and reliable magic header makes programmatic file detection foolproof
Limitations
- Proprietary format requires continuous updates to third-party software (like Lightroom) whenever Fujifilm releases a new camera
- The X-Trans sensor matrix requires highly specialized demosaicing algorithms that are extremely computationally expensive, leading to slower import and rendering times
- Completely unsupported in standard web browsers and basic operating system image viewers
XCF
XCF Strengths
- Preserves all non-destructive editing elements, layer hierarchies, masks, and alpha channels across GIMP sessions
- Open and thoroughly documented specification within the open-source community, allowing third-party tools like Krita and ImageMagick to read project files
- Reliable magic byte header prevents misidentification
Limitations
- Massive file sizes because raw, unflattened layer bitmaps and masks are stored directly within the project archive
- Completely proprietary to the GIMP ecosystem for deep editing; cannot be natively rendered or parsed by web browsers
- Third-party software supporting XCF may occasionally struggle to render complex text layer adjustments or advanced layer blend modes identically to GIMP
When to choose which format
Fuji-RAF
Use Fuji-RAF when…
- Professional Digital Photography
- Fujifilm X-Trans Sensor Image Archival
- High Dynamic Range (HDR) Post-Processing
XCF
Use XCF when…
- GIMP Native Project Archival
- Layered Photo Editing and Graphic Design
- Intermediary Asset Preparation for Export