__doctype__ __header2__
__index1__ __index3__

Canon CRW files: Mapping of CIFF to Exif tags

CRW files are encoded in CIFF format. CIFF format consists of a header and a hierarchy of directories and entries, similar to TIFF (but easier to deal with). In Exiv2, there is no CRW or CIFF type of metadata. Instead, known and suitable CIFF tags are mapped to Exif metadata, but not all CIFF tags are mapped. Exiv2 reads Canon CRW files, parses the CIFF structure and maps known and suitable tags to Exif metadata. Writing to CRW files entails a reverse mapping from Exif metadata to the CIFF tags. This way it is possible, e.g., to adjust the date when the image was taken by reading the CRW file, modifying Exif.Photo.DateTimeOriginal and writing the Exif data back to a CRW file. Tags for which there is no mapping defined are ignored during both, reading and writing.

Reference: The Canon RAW (CRW) File Format by Phil Harvey.

Exiv2 supports the mappings listed in the table below.

Click on a column header to sort the table.

__CrwMapping__