Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sony lens identification improvement #7281

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Lawrence37
Copy link
Collaborator

Looking at the metadata for various ARWs, I noticed the lens information in the metadata is correct as long as the LensSpec is not unknown. This improves the lens identification by checking the LensSpec. If it is unknown, take the lens name from the LensID. Otherwise, let Exiv2 handle the lens name.

Unknown LensSpec example: https://discuss.pixls.us/t/call-for-testing-rawtherapee-metadata-handling-with-exiv2-includes-cr3-support/36240/36
Known LensSpec example: #7278 (comment)

Closes #7278.

@Lawrence37 Lawrence37 added the scope: metadata Reading / writing metadata label Jan 6, 2025
@Lawrence37 Lawrence37 added this to the v5.12 milestone Jan 6, 2025
@Lawrence37 Lawrence37 self-assigned this Jan 6, 2025
Let Exiv2 get the lens name if the lens spec is present. Otherwise, use
the lens ID.
@Lawrence37 Lawrence37 force-pushed the sony-lens-identification branch from 69b1b57 to 79d402c Compare January 11, 2025 20:21
@Lawrence37
Copy link
Collaborator Author

Fixed the compilation error when using clang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: metadata Reading / writing metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sony DT 50mm F1.5 SAM lens isn't detected automatically
1 participant