Image MIME Reference
Sigma-X3F
Sigma X3F RAW Image
image/x-sigma-x3f
VS
X Pixmap
image/x-xpixmap
XPM
A complete technical comparison of Sigma X3F RAW Image and X Pixmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Sigma-X3F | XPM |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Sigma X3F RAW Image
image/x-sigma-x3f
Extension
.x3f
Container
Foveon Proprietary Header
Compression
Uncompressed / Proprietary Lossless
Algorithm
NoneFoveon Proprietary Huffman-based
Color Depth
12-bit (Per Channel), 14-bit (Per Channel)
Developed by
Foveon, Inc. / Sigma Corporation
Released
2002
Magic Bytes
46 4F 56 62
X Pixmap
image/x-xpixmap
Extension
.xpm
Container
C Source Code Header (.c / .h)
Compression
Uncompressed (Source Code)
Algorithm
None
Color Depth
Indexed Color (Custom Palette with RGB and Alpha 'None')
Developed by
Daniel Dardailler and Colas Nahaboo (Bull / X Consortium)
Released
1989
Magic Bytes
2F 2A 20 58 50 4D 20 2A 2F (ASCII '/* XPM */')
Browser Support Comparison
| Browser | Sigma-X3F | XPM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
Sigma-X3F
Sigma-X3F Strengths
- Provides absolute per-pixel color accuracy without the interpolation artifacts or moiré patterns typical of Bayer-sensor RAW files
- Unique 'FOVb' magic byte signature prevents accidental misidentification by standard file sniffers, unlike many TIFF-based raw formats
- Incredible sharpness and detail resolution at the raw sensor level
Limitations
- Decoding is extremely computationally expensive and completely proprietary, meaning third-party software often struggles to match the color science of Sigma's own (famously slow) Photo Pro application
- Massive file sizes because it records three complete RGB channels for every single spatial pixel coordinate
- Zero support in web browsers or standard OS image viewers
XPM
XPM Strengths
- Can be compiled directly into C or C++ source code without requiring an external asset loading mechanism
- Human-readable palette mapping allows developers to inspect, modify, or hand-craft icons directly within a text editor
- Native support for color palettes and transparency via the 'None' keyword
Limitations
- Extremely inefficient storage structure for large images, resulting in massive file bloat compared to binary formats like PNG
- Completely obsolete and unsupported in modern web browsers
- Parsing overhead requires compiling or interpreting text-based color tables at runtime
When to choose which format
Sigma-X3F
Use Sigma-X3F when…
- Professional Digital Photography
- Sigma / Foveon High-Acuity Imaging
- Non-destructive RAW Post-Processing
XPM
Use XPM when…
- X Window System (X11) Application Icons and Cursors
- Embedded C/C++ Firmware Color UI Assets
- Early Linux Desktop Environment Themes