Free webp to jpg
Image MIME Reference
DVB-SUB

DVB Subtitle

image/vnd.dvb.subtitle
VS

JPEG 2000 Image (HEIF Container)

image/hej2k
HEJ2K

A complete technical comparison of DVB Subtitle and JPEG 2000 Image (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature DVB-SUB HEJ2K
Transparency (Alpha) Yes Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No Yes
HDR Support ✕ No Yes
EXIF Metadata ✕ No Yes
ICC Color Profile ✕ No Yes
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 →
JPEG 2000 Image (HEIF Container)
image/hej2k
Extension
.hej2
Container HEIF / ISOBMFF (ISO/IEC 15444-16)
Compression Lossy / Lossless
Algorithm
JPEG 2000HTJ2K
Color Depth 8-bit, 10-bit, 12-bit, 16-bit
Developed by ISO/IEC JTC 1 / ITU-T
Released 2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 32 6B 69
Full HEJ2K reference →

Browser Support Comparison

Browser DVB-SUB HEJ2K
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
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
HEJ2K

HEJ2K Strengths

  • Brings the extensive capabilities of the HEIF container (like EXIF/XMP, thumbnails, and depth maps) to JPEG 2000
  • Supports mathematically lossless compression via wavelet transformation
  • High scalability and progressive decoding out of the box
Limitations
  • Extremely limited software support outside of niche industries
  • Zero native compatibility with web browsers
  • High computational complexity compared to simpler formats like JPEG or PNG

When to choose which format

DVB-SUB
Use DVB-SUB when…
  • Digital Television Broadcasts (DVB-T, DVB-S, DVB-C)
  • IPTV and OTT Streaming
  • Hardware Set-top Boxes
HEJ2K
Use HEJ2K when…
  • Medical Imaging
  • Geospatial Data
  • Scientific Archiving
Share this comparison