Image MIME Reference
JPEG-XR
JPEG XR (HD Photo)
image/vnd.ms-photo
VS
Panasonic RAW Image
image/x-panasonic-raw
Panasonic-RAW-(RW2)
A complete technical comparison of JPEG XR (HD Photo) and Panasonic RAW Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | JPEG-XR | Panasonic-RAW-(RW2) |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
JPEG XR (HD Photo)
image/vnd.ms-photo
Extension
.jxr.wdp.hdp
Container
TIFF-like Image File Directory (IFD)
Compression
Lossy (Lapped Bi-orthogonal Transform) / Lossless
Algorithm
Lapped Bi-orthogonal Transform (LBT)
Color Depth
8-bit (Grayscale, RGB, CMYK), 16-bit, 32-bit Floating Point (HDR)
Developed by
Microsoft Corporation (later Joint Photographic Experts Group)
Released
2006
Magic Bytes
49 49 BC 01
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 | JPEG-XR | Panasonic-RAW-(RW2) |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✓
|
✕ |
JPEG-XR
JPEG-XR Strengths
- Excellent support for 16-bit and 32-bit floating-point HDR images without massive file size bloat
- Native support for alpha transparency, which standard JPEG fundamentally lacks
- Computational complexity for decoding/encoding is relatively low, making it hardware-friendly
Limitations
- Suffered a complete failure of adoption in the web browser market outside of Microsoft's ecosystem
- Fully superseded by modern, open formats like WebP, AVIF, and JPEG XL which offer better compression and universal browser support
- Multiple file extensions (.wdp, .hdp, .jxr) and MIME types cause confusion and parsing fragmentation
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
JPEG-XR
Use JPEG-XR when…
- Legacy Windows Desktop Backgrounds
- XPS (XML Paper Specification) Documents
- Early High Dynamic Range (HDR) Photography
- DirectX Textures
Panasonic-RAW-(RW2)
Use Panasonic-RAW-(RW2) when…
- Professional Digital Photography
- Non-destructive Image Post-Processing
- High Dynamic Range (HDR) Lumix Archival