Bug 2282398

Summary: CR3 files have unreadable metadata
Product: [Fedora] Fedora Reporter: Alicja Kario <hkario>
Component: rawtherapeeAssignee: Mattia Verga <mattia.verga>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: mattdm, mattia.verga
Target Milestone: ---Keywords: RFE
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rawtherapee-5.10-2.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-03 17:59:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1979565    
Bug Blocks:    

Description Alicja Kario 2024-05-22 10:58:39 UTC
When reading CR3 files (e.g. from Canon EOS M6 Mark II, all the R-series cameras) the exif data is unavailable.

When I use the official AppImage of RawTherapee or the Archlinux package of RawTerapee, the exif data (like the used camera, lens, focal length, etc.) is available.

Lack of exif data is very inconvenient as it prevents use geometry or chromatic aberration correction.

Reproducible: Always

Steps to Reproduce:
1. Start rawhterapee
2. Navigate to a .CR3 file
3. Open it in main window, the application shows "Exif data not available." (in case it doesn't, pressing "I" on keyboard should show that in the overlay on the photo in the top right corner
Actual Results:  
"Exif data not available."

Expected Results:  
Picture metadata available: camera make and model, used lens, photo parameters, etc.

IIRC the issue may be related to the libraries used by rawtherapee

Comment 1 Mattia Verga 2024-05-22 15:58:01 UTC
Maybe some library update have broken RT. I'll see if a rebuild fixes this.
BTW, I've just noticed RT in F40 is totally broken too :(

Comment 2 Mattia Verga 2024-05-22 16:20:02 UTC
From exiv2 release notes it seems that CR3 files uses bmff format:

> Highlights of Exiv2 v0.27.4
> 
>     Support for bmff files (HEIC, HEIF, AVIF, CR3, JXL/bmff)

My guess is that Fedora provided exiv2 doesn't support those files: https://bugzilla.redhat.com/show_bug.cgi?id=1979565

Comment 3 Fedora Update System 2024-07-03 15:17:47 UTC
FEDORA-2024-0ac26cc89a (calligra-3.2.1-31.fc41, darktable-4.8.0-3.fc41, and 38 more) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-0ac26cc89a

Comment 4 Mattia Verga 2024-07-03 15:19:41 UTC
Note that this can only be fixed in Rawhide (F41) because it needs a newer exiv2 which breaks backward compatibility.

Comment 5 Fedora Update System 2024-07-03 17:59:39 UTC
FEDORA-2024-0ac26cc89a (calligra-3.2.1-31.fc41, darktable-4.8.0-3.fc41, and 38 more) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.