Image MIME Reference
JPEG-LS
JPEG-LS
image/jls
VS
JPEG XS Image Sequence (HEIF Container)
image/jxss
JPEG-XS-Sequence
A complete technical comparison of JPEG-LS and JPEG XS Image Sequence (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | JPEG-LS | JPEG-XS-Sequence |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | Yes |
| 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
JPEG XS Image Sequence (HEIF Container)
image/jxss
Extension
.jxss.jxs
Container
HEIF / ISOBMFF (ISO/IEC 23008-12)
Compression
Lossy (Visually Lossless) / Mathematically Lossless
Algorithm
JPEG XS (ISO/IEC 21122-1)
Color Depth
8-bit, 10-bit, 12-bit, 14-bit, 16-bit
Developed by
Joint Photographic Experts Group (JPEG)
Released
2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 78 73 73
Browser Support Comparison
| Browser | JPEG-LS | JPEG-XS-Sequence |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
JPEG-XS-Sequence
JPEG-XS-Sequence Strengths
- Provides sub-millisecond encoding and decoding latency across a video sequence while retaining visually lossless quality
- Leverages the robust ISOBMFF track structures for accurate frame timing, audio synchronization, and metadata handling
- Optimized for professional video production and IP broadcasting workflows
Limitations
- Zero web browser compatibility, limiting its use entirely to professional and industrial hardware workflows
- Compression ratios are significantly lower than consumer video codecs like HEVC or AV1
- Extremely niche format that requires highly specialized broadcast hardware or custom software libraries to process
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
JPEG-XS-Sequence
Use JPEG-XS-Sequence when…
- Live Broadcast Video Snippets
- Medical Imaging Sequences
- HDR Burst Photography Archiving
- Automotive & Drone Video Storage