Introduction
ARW is the raw photo format of Sony’s Alpha cameras and some of its compact cameras. It holds the data from the camera’s sensor before any processing, with the camera settings and a JPEG preview.
Sony has not published the format. Depending on the camera and its settings, the
sensor data is stored compressed with some loss, uncompressed, or with lossless
compression. Older Sony cameras used the related .srf and
.sr2 formats.
Structure
An ARW file is a little-endian TIFF file: it starts with 49 49 2A 00
(II*) and a chain of image file directories (IFDs) of tags. These point to
the JPEG previews, the Exif data with Sony’s maker note, and the raw sensor data.
The raw data page describes the directories, the encrypted SR2 data and how the sensor data is coded, from public reverse engineering.
Not described
Sony has never published ARW. These pages follow dcraw and ExifTool; the parts below are not covered yet.
Known, not yet covered
- Reference: the lossless compressed coding (Compression 7, tiled lossless JPEG) and the compressed raw 2 coding of newer cameras are only named on the raw data page; open source decoders such as LibRaw and rawspeed handle them.
- Reference: the Sony maker note tags beyond the few named (ExifTool lists many encrypted per-model tables such as Tag2010 and Tag9050), the SonyIDC tables and the entries of SR2DataIFD other than ColorMode.
- Viewer: none. The file opens as raw bytes only.
Unknown
- Reference: how the sources read here identify the layout of each
ARW version (the ExifTool FileFormat codes name them; no source read gives each
version’s raw data differences), and the meaning of the SR2 correction parameter
tags
0x797D,0x7980and0x7982, which are named but not laid out.
Links
Software
- Sony Imaging Edge Desktop – Sony’s free app for viewing and developing its raw photos (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
- Sony tags – ExifTool’s list of the Sony maker note tags