Sigma 50mm f/1.4 on Canon not detected correctly
The Sigma 50mm f/1.4 EX DG HSM lens on Canon is detected as a Sigma 18-50mm f/2.8 Macro instead. I noticed this in Darktable and reported it to them. They thought it may be an issue in the lensfun library and the lensfun developers narrowed it down to a bug in exiv2. The EXIF data in the image is correct, but the exiv2 command line tool reports a different lens. I am using exiv2 0.23. A sample image is attached.
Updated by Aakash Goenka almost 6 years ago
I have attached a patch to fix this bug. Presently, Exiv uses a heuristic in case of conflicting lens ID's. The heuristic involves matching the focal length of the lens. I have improved on the heuristic by including the matching of maximum aperture, along with focal length. This leads to more accurate conflict resolution, and consequently fixes this bug, and also Bug 895.
Updated by Niels Kristian Bech Jensen almost 6 years ago
- Due date set to 27 Apr 2013
- Status changed from New to Resolved
- Assignee set to Niels Kristian Bech Jensen
- Target version set to 0.24
- % Done changed from 0 to 100
Thanks for the patch. I have submitted it to the svn trunk.