Image MIME Reference
Kodak-KDC
Kodak KDC Raw Image
image/x-kodak-kdc
VS
Sony SR2 Raw Image
image/x-sony-sr2
Sony-SR2
A complete technical comparison of Kodak KDC Raw Image 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 | Kodak-KDC | Sony-SR2 |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
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
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 | Kodak-KDC | Sony-SR2 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
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
Kodak-KDC
Use Kodak-KDC when…
- Vintage Digital Photography Archival
- Kodak DC and EasyShare P-Series Raw Post-Processing
- Historical Imaging Research
Sony-SR2
Use Sony-SR2 when…
- Legacy Sony Cyber-shot/Alpha Photography
- Non-destructive Image Post-Processing
- Raw Imaging Archival