Image MIME Reference
JPEG-LS
JPEG-LS
image/jls
VS
Kodak Digital Camera Raw
image/x-kodak-dcr
Kodak-DCR
A complete technical comparison of JPEG-LS and Kodak Digital Camera Raw — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | JPEG-LS | Kodak-DCR |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
JPEG-LS
image/jls
Extension
.jls.jl
Container
JPEG Bitstream
Compression
Lossless / Near-Lossless (Predictive Coding)
Algorithm
LOCO-I (Low Complexity Lossless Compression for Images)Golomb-Rice Coding
Color Depth
8-bit, 12-bit, 16-bit (Per Channel)
Developed by
Joint Photographic Experts Group (ISO/ITU-T) & HP Labs
Released
1999
Magic Bytes
FF D8 FF F7
Kodak Digital Camera Raw
image/x-kodak-dcr
Extension
.dcr
Container
TIFF/EP
Compression
Uncompressed / Lossless JPEG
Algorithm
NoneLossless JPEG (ITU-T81)
Color Depth
12-bit (Per Channel)
Developed by
Eastman Kodak Company
Released
1998
Magic Bytes
49 49 2A 00 or 4D 4D 00 2A
Browser Support Comparison
| Browser | JPEG-LS | Kodak-DCR |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
JPEG-LS
JPEG-LS Strengths
- Provides state-of-the-art lossless compression ratios for continuous-tone images, often outperforming Lossless JPEG and JPEG 2000
- Extremely fast and computationally inexpensive to encode/decode, requiring no complex floating-point math or DCTs
- Highly resilient in constrained hardware environments, making it ideal for medical equipment and deep-space probes (e.g., Mars rovers)
Limitations
- Zero native support in web browsers or standard consumer operating systems
- Lacks the advanced resolution scalability and progressive decoding features found in JPEG 2000
- Primarily relegated to niche enterprise sectors (healthcare/DICOM and aerospace) rather than consumer adoption
Kodak-DCR
Kodak-DCR Strengths
- Preserves the full dynamic range and uncompressed raw sensor data captured by foundational professional digital cameras
- Utilizes the standard TIFF container structure, ensuring that open-source decoders like LibRaw can easily parse and interpret the files long after official vendor support has ended
Limitations
- Completely obsolete proprietary format tied to camera hardware that is no longer manufactured
- Shares the TIFF magic header, leading to widespread misidentification by automated MIME detection libraries
- Cannot be natively viewed in web browsers or standard operating system image viewers without specialized codecs
When to choose which format
JPEG-LS
Use JPEG-LS when…
- Medical Imaging (DICOM Encapsulation)
- Space and Planetary Imaging (NASA/ESA)
- Industrial Machine Vision
- Scientific Archival Storage
Kodak-DCR
Use Kodak-DCR when…
- Vintage Professional Digital Photography (Kodak DCS series)
- Non-destructive Image Post-Processing
- Raw Imaging Archival