Image MIME Reference
DECE-Graphic
Digital Entertainment Content Ecosystem (DECE) Graphic
image/vnd.dece.graphic
VS
X Pixmap
image/x-xpixmap
XPM
A complete technical comparison of Digital Entertainment Content Ecosystem (DECE) Graphic and X Pixmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DECE-Graphic | XPM |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
Digital Entertainment Content Ecosystem (DECE) Graphic
image/vnd.dece.graphic
Extension
.jpg.png.uvi
Container
Standard JPEG/PNG within DECE CFF structures
Compression
Lossy (JPEG) / Lossless (PNG)
Algorithm
DCT (JPEG)DEFLATE (PNG)
Color Depth
8-bit (RGB), 24-bit (RGB)
Developed by
Digital Entertainment Content Ecosystem (DECE) LLC
Released
2011
Magic Bytes
FF D8 FF (If JPEG) / 89 50 4E 47 (If PNG)
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 | DECE-Graphic | XPM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
DECE-Graphic
DECE-Graphic Strengths
- Allowed the UltraViolet DRM ecosystem to easily distinguish structural UI/cover graphic assets from actual encrypted video tracks in a Common File Format container
Limitations
- Completely obsolete since the 2019 shutdown of UltraViolet
- Unnecessary abstraction, as the underlying files were just standard JPEGs or PNGs
- Causes modern strict MIME-type validators to fail if they rely on the Content-Type header
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
DECE-Graphic
Use DECE-Graphic when…
- UltraViolet Movie Cover Art
- Common File Format (CFF) Asset Manifests
- Legacy DRM Ecosystems
XPM
Use XPM when…
- X Window System (X11) Application Icons and Cursors
- Embedded C/C++ Firmware Color UI Assets
- Early Linux Desktop Environment Themes