Free webp to jpg
Image MIME Reference
DICOM-RLE

DICOM Run-Length Encoding

image/dicom-rle
VS

DVB Subtitle

image/vnd.dvb.subtitle
DVB-SUB

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

Equal browser support

Feature Support

Feature DICOM-RLE DVB-SUB
Transparency (Alpha) ✕ No Yes
Animation Support Yes ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile Yes ✕ No
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 →
DVB Subtitle
image/vnd.dvb.subtitle
Extension
.sub.sup.ts
Container MPEG-2 Transport Stream (MPEG-TS) PES Packets
Compression Lossless (Run-Length Encoding)
Algorithm
RLE (Run-Length Encoding)
Color Depth 2-bit (Indexed), 4-bit (Indexed), 8-bit (Indexed CLUT)
Developed by DVB Project (ETSI)
Released 1997
Magic Bytes
20
Full DVB-SUB reference →

Browser Support Comparison

Browser DICOM-RLE DVB-SUB
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
DVB-SUB

DVB-SUB Strengths

  • Guarantees 100% accurate visual representation (fonts, colors, layouts) exactly as intended by the broadcaster
  • Effortlessly supports complex character sets (e.g., Arabic, Asian languages) without relying on the client device possessing the necessary fonts
  • Supports region-specific dynamic positioning to avoid obscuring important on-screen graphics or burned-in lower thirds
Limitations
  • Requires significantly more bandwidth than text-based subtitles
  • Inaccessible to screen readers and cannot be indexed by search engines
  • Requires OCR (Optical Character Recognition) to translate back into standard text-based web formats
  • Zero native support in HTML5 video elements

When to choose which format

DICOM-RLE
Use DICOM-RLE when…
  • Medical Imaging
  • Ultrasound
  • X-Rays / CT / MRI
  • PACS Archives
DVB-SUB
Use DVB-SUB when…
  • Digital Television Broadcasts (DVB-T, DVB-S, DVB-C)
  • IPTV and OTT Streaming
  • Hardware Set-top Boxes
Share this comparison