Sigma 24mm f/2.8 on Canon body
When this lens is used on a Canon Rebel XTi (APS-C), Exiv2 improperly reports the lens to be "Canon EF 28mm f/2.8".
This Sigma lens is present on the Lensfun project and identified as: "Sigma 24mm f/2.8 Super Wide II", which is its complete correct name. This is a pretty old lens, having been released during the 1990s and now discontinued, but it still works fine on modern cameras.
exiv2 -pt command reports: Exif.CanonCs.LensType Short 1 Canon EF 28mm f/2.8
exiv2 -pv command reports: 0x016 CanonCs LensType Short 1 2
The focal length is reported correctly at 24mm (in the case of -pv command, I get: 24 24 1)
Thank you for considering this.
Updated by Robin Mills 3 months ago
- Category set to lens
- Status changed from New to Closed
- Assignee set to Robin Mills
- % Done changed from 0 to 100
- Estimated time set to 1.00 h
We get several requests every week to support new lenses. You can usually fix this for yourself with the file: ~/.exiv2 http://dev.exiv2.org/issues/1376
If you're unable to get your lens to work with ~/.exiv2, please report an issue on https://github.com/Exiv2/exiv2/issues/ as we are planning to make this forum "ReadOnly". Please attach a test file from your camera using the lens. You may leave the lens cap on, if you wish.
Updated by Claude Jolicoeur 3 months ago
Thank you Robin.
From the reading I have done since I first posted this request, I understand the config file (~/.exiv2) has been implemented in version 0.26 and is thus not available in earlier versions of exiv2 - is that correct?
The problem that remains is that ubuntu's PPAs only have version 0.25 of exiv2, and this is also the version that comes with the latest darktable. Is there an easy way to install version 0.26? (by easy I mean a way where I wouldn't have to compile the code, as I don't have the competences for this)...
Updated by Robin Mills 2 months ago
Yes. You can download binaries from http://exiv2.org for your platform (Linux, MacOS-X, msvc, Cygwin, MinGW). Please read ReadMe.txt in the downloaded bundle for an explanation of how to install the libraries on your platform.
In future, all correspondence concerning Exiv2 will be on https://github.com/exiv2/exiv2. If you wish to discuss this further, please open an issue on GitHub.