Sigma 50mm f/1.4 on Canon not detected correctly
|Status:||Closed||Start date:||06 Oct 2012|
|Priority:||Normal||Due date:||27 Apr 2013|
|Assignee:||Niels Kristian Bech Jensen||% Done:|
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.
#1 Updated by Aakash Goenka over 5 years ago
- File bug854.patch added
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.
#3 Updated by Niels Kristian Bech Jensen over 5 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.