Image MIME Reference
DECE-Graphic
Digital Entertainment Content Ecosystem (DECE) Graphic
image/vnd.dece.graphic
VS
Sony SR2 Raw Image
image/x-sony-sr2
Sony-SR2
A complete technical comparison of Digital Entertainment Content Ecosystem (DECE) Graphic and Sony SR2 Raw Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DECE-Graphic | Sony-SR2 |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
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)
Sony SR2 Raw Image
image/x-sony-sr2
Extension
.sr2
Container
TIFF-based (Proprietary)
Compression
Uncompressed / Sony Proprietary Lossless
Algorithm
NoneSony Proprietary Lossless
Color Depth
12-bit (Per Channel)
Developed by
Sony Corporation
Released
2005
Magic Bytes
49 49 2A 00
Browser Support Comparison
| Browser | DECE-Graphic | Sony-SR2 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
Sony-SR2
Sony-SR2 Strengths
- Retains raw, unprocessed sensor data from legacy cameras, allowing modern raw processors to extract vastly superior image quality than what was possible in 2005
- Utilizes a standard TIFF container structure, ensuring that community-maintained open-source decoding libraries (like LibRaw) can easily parse and maintain support for it indefinitely
Limitations
- Completely obsolete format that has not been utilized in a new camera release in over a decade
- MIME detection via magic bytes is unreliable due to TIFF header spoofing, requiring deeper EXIF inspection
- Cannot be natively viewed in web browsers or standard operating system image viewers without specialized decoders
When to choose which format
DECE-Graphic
Use DECE-Graphic when…
- UltraViolet Movie Cover Art
- Common File Format (CFF) Asset Manifests
- Legacy DRM Ecosystems
Sony-SR2
Use Sony-SR2 when…
- Legacy Sony Cyber-shot/Alpha Photography
- Non-destructive Image Post-Processing
- Raw Imaging Archival