Expand description
Embedded-JPEG previews and basic metadata for the two common RAW
formats that are not TIFF-based, so raw_preview’s IFD walker can’t
read them:
- CR3 (Canon, 2018+): an ISO base-media (“MP4”) container. Track 1
holds a full-size JPEG; a smaller
PRVWJPEG sits in a Canonuuidbox as a fallback. Capture date, make, model and orientation live in theCMT1/CMT2TIFF blocks of the Canon metadata box. - RAF (Fujifilm): a fixed header whose bytes 84..92 give the offset and length of an embedded JPEG, which also carries normal EXIF.
Like the TIFF path, this shows the camera’s own rendering rather than demosaicing sensor data.
Structs§
- Cr3Metadata
- Capture metadata recovered from a CR3’s Canon metadata box.
Functions§
- cr3_
metadata - Capture date, make, model and orientation from a CR3.
- cr3_
preview - Largest embedded JPEG in a CR3, or
Noneif none was found. - raf_
preview - The embedded JPEG of a Fujifilm RAF (it carries the photo’s EXIF too).