Skip to content

Try to handle Canon RF lenses differently to legacy ones#11584

Merged
TurboGit merged 1 commit into
darktable-org:masterfrom
kmilos:canon_rf_id
Apr 22, 2022
Merged

Try to handle Canon RF lenses differently to legacy ones#11584
TurboGit merged 1 commit into
darktable-org:masterfrom
kmilos:canon_rf_id

Conversation

@kmilos

@kmilos kmilos commented Apr 21, 2022

Copy link
Copy Markdown
Contributor

Addresses RF lens aliasing such as #11581

Requires exiv2 0.27.5, but not all RF lenses are included w/ exiv2 unfortunately (21 out of 31 known to exiftool).

The alternative is to detect the RF case, prioritize Exif.Canon.LensModel, and then try to string replace "RF" w/ "Canon RF "...

@kmilos

kmilos commented Apr 21, 2022

Copy link
Copy Markdown
Contributor Author

Actually, scratch that, will only work w/ exiv2 main branch, so a no-go ATM.

Will work on the alternative approach then...

@kmilos
kmilos marked this pull request as draft April 21, 2022 12:36
@kmilos kmilos changed the title Try to identify Canon RF lenses before legacy ones Try to handle Canon RF lenses differently to legacy ones Apr 21, 2022
@kmilos
kmilos marked this pull request as ready for review April 21, 2022 15:15

@TurboGit TurboGit left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@TurboGit
TurboGit merged commit 18394dc into darktable-org:master Apr 22, 2022
@TurboGit TurboGit added this to the 4.0 milestone Apr 22, 2022
@TurboGit TurboGit added the scope: camera support adding WB and raw support for new cameras label Apr 22, 2022
@kmilos
kmilos deleted the canon_rf_id branch April 22, 2022 18:32
@piratenpanda

Copy link
Copy Markdown
Contributor

Wonderful, fixed my issue with the 100-500 getting wrongly identified as with +2x extender

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: camera support adding WB and raw support for new cameras

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants