Free webp to jpg
Image MIME Reference
DICOM-RLE

DICOM Run-Length Encoding

image/dicom-rle
VS

JPEG XS Image

image/jxs
JPEG-XS

A complete technical comparison of DICOM Run-Length Encoding and JPEG XS Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature DICOM-RLE JPEG-XS
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)
Full DICOM-RLE reference →
JPEG XS Image
image/jxs
Extension
.jxs
Container ISOBMFF (ISO/IEC 21122-3) or Raw Codestream
Compression Lossy (Visually Lossless) / Mathematically Lossless
Algorithm
JPEG XS (Low-complexity wavelet transform)
Color Depth 8-bit, 10-bit, 12-bit, 14-bit, 16-bit
Developed by Joint Photographic Experts Group (JPEG) / intoPIX
Released 2019
Magic Bytes
FF 10 (Codestream) / XX XX XX XX 66 74 79 70 6A 78 73 20 (ISOBMFF)
Full JPEG-XS reference →

Browser Support Comparison

Browser DICOM-RLE JPEG-XS
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
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

JPEG-XS Strengths

  • Provides sub-millisecond encoding/decoding latency, essential for live production and gaming
  • Extremely lightweight, requiring very little CPU, GPU, or FPGA memory to process
  • Replaces uncompressed video links (like SDI or HDMI) over standard Ethernet networks with visually lossless quality
Limitations
  • Compression ratios are typically much lower (between 2:1 and 10:1) compared to heavy codecs like HEVC or AV1
  • Zero support in web browsers or standard consumer devices
  • Primarily licensed to hardware manufacturers and professional software ecosystems

When to choose which format

DICOM-RLE
Use DICOM-RLE when…
  • Medical Imaging
  • Ultrasound
  • X-Rays / CT / MRI
  • PACS Archives
JPEG-XS
Use JPEG-XS when…
  • Live Video Broadcasting (SMPTE ST 2110)
  • Video over IP Networks
  • Virtual Reality / Augmented Reality (VR/AR)
  • Automotive & Drone Cameras
Share this comparison