Image MIME Reference
Epson-ERF
Epson Raw Format
image/x-epson-erf
VS
JPEG-LS
image/jls
JPEG-LS
A complete technical comparison of Epson Raw Format and JPEG-LS — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Epson-ERF | JPEG-LS |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
Epson Raw Format
image/x-epson-erf
Extension
.erf
Container
TIFF/EP
Compression
Uncompressed / Lossless JPEG (ITU-T81)
Algorithm
NoneLossless JPEG
Color Depth
12-bit (Per Channel)
Developed by
Seiko Epson Corporation
Released
2004
Magic Bytes
49 49 2A 00 or 4D 4D 00 2A
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
Browser Support Comparison
| Browser | Epson-ERF | JPEG-LS |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Epson-ERF
Epson-ERF Strengths
- Preserves original raw sensor data, allowing extreme recovery of highlights and shadows compared to in-camera JPEGs
- Utilizes the standard TIFF container structure, making it relatively easy for open-source software (like dcraw and LibRaw) to parse and decode
Limitations
- Completely obsolete proprietary format tied to a defunct line of digital cameras
- Requires parsing EXIF metadata to differentiate it from standard TIFF files programmatically
- Cannot be natively viewed in web browsers or standard operating system image viewers without specialized codecs
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
When to choose which format
Epson-ERF
Use Epson-ERF when…
- Vintage Digital Photography (Epson R-D1)
- Non-destructive Image Post-Processing
- Raw Imaging Archival
JPEG-LS
Use JPEG-LS when…
- Medical Imaging (DICOM Encapsulation)
- Space and Planetary Imaging (NASA/ESA)
- Industrial Machine Vision
- Scientific Archival Storage