I have a Canon 5D Mark IV. All my lenses are correctly handled in darktable’s lens correction module except one, a EF70-200mm f/2.8L IS II USM.
The module shows an error:
The reason for this can be seen when doing a
exiv2 -pt <somefile>.CR2 | grep -ai lens ✔
Exif.CanonCs.LensType Short 1 Canon EF 70-200mm f/2.8L IS II USM *OR* Canon EF 70-200mm f/2.8L IS III USM
Exif.CanonCs.Lens Short 3 70.0 - 200.0 mm
Exif.Canon.LensModel Ascii 74 EF70-200mm f/2.8L IS II USM
Exif.CanonLiOp.DigitalLensOptimizer SLong 1 Aus
Exif.CanonLe.LensSerialNumber Byte 5 0000c095fd
Exif.CanonAfC.USMLensElectronicMF SLong 1 Nach AF aktivieren
Exif.CanonAfC.LensDriveWhenAFImpossible SLong 1 Fokus-Suche fortsetzen
Exif.Photo.LensSpecification Rational 4 70-200mm
Exif.Photo.LensModel Ascii 28 EF70-200mm f/2.8L IS II USM
Exif.Photo.LensSerialNumber Ascii 11 0000c095fd
The interesting one is that exiv2 shows in the first line that it’s ether version II or III of that lens - that string exactly shows up in darktable’s lens module.
How can I fix this?