Introduction
CR3 is the raw photo format of Canon’s cameras from 2018 onwards, replacing the TIFF-based CR2. It holds the data from the camera’s sensor before any processing, with the camera settings and JPEG previews.
Cameras can save the sensor data with lossless compression or, as C-RAW, with a lossy compression that makes smaller files. Canon has not published the format.
Structure
A CR3 file is not a TIFF file. It uses the ISO base media file format, the box
structure of MP4 and HEIF: a series of boxes, each a 4-byte big-endian size and a
4-byte type. The first box is ftyp with the brand crx . A
moov box holds Canon’s own boxes with the metadata and a preview, and
tracks that point into the mdat box, where the previews and the raw
sensor data are stored.
The reference pages, based on public reverse engineering, cover the boxes, the CRAW sample entry that describes each image, and the media data with the CRX codec and timed metadata.
Not described
Canon has never published CR3. These pages follow Laurent Clévy’s reverse-engineering notes; the parts below are not covered yet.
Known, not yet covered
- Reference: the bit-level entropy coding of the CRX codec (the Golomb-Rice, run and wavelet details) and the second codec version’s headers beyond their markers. Open source converters decode it, but these pages give only the outline on media data.
- Reference: the table of camera models in the notes (32 rows, from
the EOS M50 to the EOS R8 Mark II) and the Cinema RAW (
.crm) files, which the notes call very similar but do not detail. - Viewer: none. The file opens as raw bytes only.
Unknown
- Reference: the contents of the
CMTAandCNOPboxes,CTMDrecord type 3, parts of types 4 and 5, and the meaning of manyCMP1bits and of the version and flags ofCISZandIMGD; the notes mark them as unknown or uncertain (boxes, CRAW sample entry).
Links
Software
- Canon Digital Photo Professional – Canon’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)
- digiKam – free photo manager with a raw import tool (Windows, macOS, Linux)
Developers
Reference
- Describing the Canon Raw v3 file format – a reverse-engineered description of the boxes and the compression
- Canon tags – ExifTool’s list of the Canon maker note tags