Exiv2 / exiv2

Image metadata library and tools

Home Page:http://www.exiv2.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lens Recognition for Tokina atx-i 11-20mm F2.8 CF

migle opened this issue · comments

Is your feature request related to a problem?

No automatic lens detection by lensfun / darktable 4.4.2 possible (lens type unknown)
Lens Tokina atx-i 11-20mm F2.8 CF

$ exiv2 -pt IMG_8042.CR3 | grep -i lens
Exif.Photo.LensSpecification Rational 4 11/1 20/1 0/1 0/1
Exif.Photo.LensModel Ascii 1
Exif.Photo.LensSerialNumber Ascii 11 0000000000
Exif.CanonCs.LensType Short 1 Canon EF-S 17-55mm f/2.8 IS USM
Exif.CanonCs.Lens Short 3 11.0 - 20.0 mm
Exif.CanonFi.RFLensType SShort 1 n/a
Exif.Canon.LensModel Ascii 138

Desktop

Linux (Fedora 38)
exiv2 0.27.5-9.29 from https://download.opensuse.org/repositories/graphics:/darktable/Fedora_38/
Darktable 4.4.2-69.7 from https://download.opensuse.org/repositories/graphics:/darktable/Fedora_38/

Additional context

Raw sample picture https://ramos.link/nextcloud/index.php/s/YsMsJDRLZjFzFXz
Lens info https://tokinalens.com/product/atx_i_11_20mm_f2_8_cf/

The camera itself, Canon EOS 90D, also does not detect the lens, it detects it as a Canon EF-S 17-55mm f/2.8 IS USM, which is a totally different lens, and applies bad corrections.

As in the previous report, you can use the ID value and the config file to assign the desired string. You can get the ID value by running e.g. exiv2 -Pkv