Introduction
RW2 is the raw photo format of Panasonic’s Lumix cameras. It holds the data from the camera’s sensor before any processing, with the camera settings and a JPEG preview. Panasonic has not published the format.
Structure
An RW2 file is laid out like a little-endian TIFF file, with image file directories
(IFDs) of tags. The header differs from TIFF in its magic number: the file starts with
49 49 55 00 (IIU) where TIFF has 49 49 2A 00.
Panasonic’s own tags in the first IFD give the sensor size and the location of the raw
data, and an embedded JPEG holds the preview and the Exif data.
The tags and raw data page lists every known Panasonic tag and describes the original raw compression, from public reverse engineering.
Not described
Panasonic has never published RW2. These pages follow ExifTool and dcraw; the parts below are not covered yet.
Known, not yet covered
- Reference: the newer raw codings (Compression 34826, 34828 and 34830, RawFormat versions beyond the original), which LibRaw and rawspeed decode; the tags page covers only the original compression.
- Reference: the Exif LightSource codes used by the white balance tables, and the Panasonic maker note tags in the embedded JPEG.
- Viewer: none. The file opens as raw bytes only.
Unknown
- Reference: the RawFormat values (ExifTool lists none), the model
behind the DistortionInfo parameters, and the
IIUheader’s second magic field beyond what the earlier reading recorded.
Links
Software
- SILKYPIX Developer Studio for Panasonic – free raw developer offered to Lumix owners (Windows, macOS)
- Adobe Lightroom – Adobe’s photo library and raw developer (Windows, macOS, mobile)
- Adobe Camera Raw – the raw converter built into Photoshop (Windows, macOS)
- Capture One – raw photo editor for professional photographers (Windows, macOS)
- darktable – free raw photo developer (Windows, macOS, Linux)
- RawTherapee – free raw photo developer (Windows, macOS, Linux)
- digiKam – free photo manager with a raw import tool (Windows, macOS, Linux)
Developers
Reference
- Panasonic tags – ExifTool’s list of the Panasonic tags