Image MIME Reference
DICOM-RLE
DICOM Run-Length Encoding
image/dicom-rle
VS
JPEG XS Image Sequence (HEIF Container)
image/jxss
JPEG-XS-Sequence
A complete technical comparison of DICOM Run-Length Encoding 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 | DICOM-RLE | JPEG-XS-Sequence |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | Yes | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | Yes | Yes |
DICOM Run-Length Encoding
image/dicom-rle
Extension
.dcm.dicom
Container
DICOM (PS3.10)
Compression
Lossless (RLE)
Algorithm
Run-Length Encoding (RLE)
Color Depth
8-bit, 16-bit, 24-bit
Developed by
National Electrical Manufacturers Association (NEMA) / ACR
Released
1993
Magic Bytes
44 49 43 4D (at byte offset 128)
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 | DICOM-RLE | JPEG-XS-Sequence |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
DICOM-RLE
DICOM-RLE Strengths
- Guarantees lossless preservation of critical medical data necessary for diagnostics
- Extremely robust metadata structure containing patient information, modality, and spatial geometry
- Faster to encode and decode than complex compression schemes like JPEG 2000
Limitations
- RLE compression offers very low compression ratios compared to modern codecs like JPEG-LS or JPEG 2000
- Zero support in web browsers or standard consumer image viewers
- Strict data privacy regulations (HIPAA/GDPR) make handling DICOM files complex due to embedded PHI
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
DICOM-RLE
Use DICOM-RLE when…
- Medical Imaging
- Ultrasound
- X-Rays / CT / MRI
- PACS Archives
JPEG-XS-Sequence
Use JPEG-XS-Sequence when…
- Live Broadcast Video Snippets
- Medical Imaging Sequences
- HDR Burst Photography Archiving
- Automotive & Drone Video Storage