Image MIME Reference
Panasonic-RAW-(RW2)
Panasonic RAW Image
image/x-panasonic-raw
VS
PWG Raster Format
image/pwg-raster
PWG-Raster
A complete technical comparison of Panasonic RAW Image and PWG Raster Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Panasonic-RAW-(RW2) | PWG-Raster |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
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
PWG Raster Format
image/pwg-raster
Extension
.pwg.ras
Container
CUPS Raster v2 Container
Compression
PackBits (Run-Length Encoding)
Algorithm
PackBits (Apple RLE variant)
Color Depth
1-bit (Monochrome/K), 8-bit (Grayscale), 24-bit (sRGB / Adobe RGB), 32-bit (CMYK)
Developed by
IEEE-ISTO Printer Working Group (PWG)
Released
2011
Magic Bytes
52 61 53 32
Browser Support Comparison
| Browser | Panasonic-RAW-(RW2) | PWG-Raster |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
PWG-Raster
PWG-Raster Strengths
- The undisputed global standard for modern, driverless printing environments, eliminating the nightmare of installing manufacturer-specific print drivers
- Extremely lightweight to decode on embedded hardware, requiring minimal RAM buffers on the printer side
- Strict color space and resolution rules guarantee that the printed output will successfully process without syntax errors
Limitations
- Generates massive file sizes and network payloads compared to vector-based formats like PDF or PostScript, as every page is fully rasterized at 300+ DPI before transmission
- No support for native rendering in web browsers, image viewers, or graphic design software without specialized CUPS developer tools
- Cannot store complex metadata, vector text, or layers
When to choose which format
Panasonic-RAW-(RW2)
Use Panasonic-RAW-(RW2) when…
- Professional Digital Photography
- Non-destructive Image Post-Processing
- High Dynamic Range (HDR) Lumix Archival
PWG-Raster
Use PWG-Raster when…
- Driverless Network Printing (IPP Everywhere)
- Apple AirPrint and Mopria Print Service Pipelines
- CUPS (Common UNIX Printing System) Spooling