Image MIME Reference
HEJ2K
JPEG 2000 Image (HEIF Container)
image/hej2k
VS
Kodak KDC Raw Image
image/x-kodak-kdc
Kodak-KDC
A complete technical comparison of JPEG 2000 Image (HEIF Container) and Kodak KDC Raw Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | HEJ2K | Kodak-KDC |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
JPEG 2000 Image (HEIF Container)
image/hej2k
Extension
.hej2
Container
HEIF / ISOBMFF (ISO/IEC 15444-16)
Compression
Lossy / Lossless
Algorithm
JPEG 2000HTJ2K
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
ISO/IEC JTC 1 / ITU-T
Released
2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 32 6B 69
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
Browser Support Comparison
| Browser | HEJ2K | Kodak-KDC |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
HEJ2K
HEJ2K Strengths
- Brings the extensive capabilities of the HEIF container (like EXIF/XMP, thumbnails, and depth maps) to JPEG 2000
- Supports mathematically lossless compression via wavelet transformation
- High scalability and progressive decoding out of the box
Limitations
- Extremely limited software support outside of niche industries
- Zero native compatibility with web browsers
- High computational complexity compared to simpler formats like JPEG or PNG
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
When to choose which format
HEJ2K
Use HEJ2K when…
- Medical Imaging
- Geospatial Data
- Scientific Archiving
Kodak-KDC
Use Kodak-KDC when…
- Vintage Digital Photography Archival
- Kodak DC and EasyShare P-Series Raw Post-Processing
- Historical Imaging Research