Feature #438

Support Canon raw images (CRW and THM)

Added by Andreas Huggel over 11 years ago. Updated over 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Andreas Huggel% Done:

0%

Category:exif
Target version:0.9

Description

Feature: Add support for Canon raw images (CRW and THM)

History

#1 Updated by Andreas Huggel over 11 years ago

CRW files are in CIFF format. CIFF format consists of a header and a hierarchy of directories and entries, similar to TIFF (but easier to deal with). Some of the CIFF metadata can be mapped to Exif metadata.
The initial scope of the support for Canon CRW files is to read CRW files, parse the CIFF structure and map the known and suitable tags to Exif metadata. CIFF tags for which there is no mapping defined will be ignored. There will not be a new CRW or CIFF type of metadata.
Writing to CRW files will perform a reverse mapping from Exif metadata to the CIFF tags found in CRW files. E.g., it will be possible 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. Exif tags for which there is no mapping defined will be ignored.

#2 Updated by Andreas Huggel over 11 years ago

Canon THM files are generated together with CRW files. They are Jpeg files containing a 120x160 pixel thumbnail version of the image and the complete Exif metadata for the image. However, this Exif metadata does not contain any preview or thumbnail images.
Since Exiv2 determines the file type based on its contents rather than the file extension, THM files are already fully supported.

#3 Updated by Andreas Huggel over 11 years ago

Should the library or utility transform the THM image to an Exif thumbnail when reading Exif data from a THM file? If so, what about writing to THM?

#4 Updated by Andreas Huggel over 11 years ago

Write support completed.

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux