Free webp to jpg
Image MIME Reference
DVB-SUB

DVB Subtitle

image/vnd.dvb.subtitle
VS

X Window Dump (Legacy MIME Alias)

image/x-xwindowdump
XWD

A complete technical comparison of DVB Subtitle and X Window Dump (Legacy MIME Alias) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature DVB-SUB XWD
Transparency (Alpha) Yes Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
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 →
X Window Dump (Legacy MIME Alias)
image/x-xwindowdump
Extension
.xwd.wd
Container XWDHeader / XWDFileHeader Structure
Compression Uncompressed
Algorithm
None
Color Depth 8-bit (Indexed), 16-bit (High Color), 24-bit (True Color), 32-bit (True Color with Alpha/Padding)
Developed by MIT / X Consortium (X Window System)
Released 1987
Magic Bytes
00 00 00 64 (Typically indicates a 100-byte header size followed by version)
Full XWD reference →

Browser Support Comparison

Browser DVB-SUB XWD
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
XWD

XWD Strengths

  • Provides an exact, raw pixel dump directly from the X11 display server memory without compression overhead
  • Extremely fast for Unix environments to generate during low-level graphical debugging
Limitations
  • Completely uncompressed, resulting in large, bloated file sizes
  • Zero support in web browsers or modern desktop environments without specialized graphics translation tools
  • Verbose legacy MIME strings like 'image/x-xwindowdump' require backend normalization in modern applications

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
XWD
Use XWD when…
  • X Window System (X11) Display Debugging and Screenshots
  • Legacy Unix/Linux System Administration
Share this comparison