Image MIME Reference
DVB-SUB
DVB Subtitle
image/vnd.dvb.subtitle
VS
Panasonic RAW Image
image/x-panasonic-raw
Panasonic-RAW-(RW2)
A complete technical comparison of DVB Subtitle and Panasonic RAW Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DVB-SUB | Panasonic-RAW-(RW2) |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| 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
Panasonic RAW Image
image/x-panasonic-raw
Extension
.raw.rw2
Container
TIFF-based (Proprietary)
Compression
Uncompressed / Panasonic Proprietary Lossless
Algorithm
NoneProprietary Lossless
Color Depth
12-bit (Per Channel), 14-bit (Per Channel), 16-bit (Per Channel - High-res mode)
Developed by
Panasonic Corporation
Released
2004
Magic Bytes
Older RAW: 49 49 2A 00 | Newer RW2: 49 49 55 00
Browser Support Comparison
| Browser | DVB-SUB | Panasonic-RAW-(RW2) |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
Panasonic-RAW-(RW2)
Panasonic-RAW-(RW2) Strengths
- Retains maximum sensor data, allowing significant recovery of highlights and shadows compared to in-camera JPEGs
- Modern RW2 files embed proprietary lens correction profiles (distortion, vignetting, chromatic aberration) that raw converters can automatically apply
- The unique 'IIU' signature on RW2 files makes programmatic identification extremely reliable compared to other TIFF-spoofing raw formats
Limitations
- Proprietary format requires continuous updates to third-party processing engines whenever Panasonic releases a new Lumix camera
- Produces very large file sizes, particularly when using Panasonic's High-Resolution multi-shot modes
- Cannot be directly embedded into web pages or used in standard HTML/CSS contexts
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
Panasonic-RAW-(RW2)
Use Panasonic-RAW-(RW2) when…
- Professional Digital Photography
- Non-destructive Image Post-Processing
- High Dynamic Range (HDR) Lumix Archival