I am using the latest stable release of DT (3.0.2) on windows 10. My camera is a Nikon D5200 an im using 2 prime lenses (Nikkor 35, 50), the kit VR 16-105 and a Tamron 70-300. The Nikkon lenses are detected by the lens correction module and activating the lens correction module applies the undistorition.
My Tamron on the other hand is detected, but i have to choose the lens manually.
I thought the format of a lens selector in eviv2.ini/.exiv2 should be:
“<code>=<lens description>”
where
<code> would be the value of Exif.NikonLd3.LensIDNumber (one byte, so between 0 and 255);
<lens description> should be the description for the corresponding lens as used by lensfun
Thanx, i just copied the exiv2 command from somewhere. Now i iknow the t option means human readable format. But changing to
[nikon]
241=Tamron SP 70-300mm F4.0-5.6 Di VC USD (A005)
does not help.
Do i need to install exiv2 besides the darktable version? If so i think i will stick with the Preset or try the lua script i found somewhere in this forum to fix misinterpreted lenses
I read about darktable lens correction pipeline in the manual and i hope i get it right
evix2 reads the metadata and when the lens is know it reports it to lensfun to select the correct lens.
evix2 reports
Exif.NikonLd3.LensIDNumber Byte 1 Tamron SP 70-300mm F4-5.6 Di VC USD
or 241as LensIDNumber.
My lens is in the lensfun database
Tamron SP 70-300mm f/4-5.6 Di VC USD
But in darktable in the lenses dropdown menu the lens appears as
I do not have exiv2 installed on my windows system, so im using the one with darktable. I added an exiv2.ini file in my C:\Users\USERNAME directory containing of
[nikon]
241=Tamron SP 70-300mm f/4.0-5.6 Di VC USD (A005)
But nothing happens. I am using DT 3.0.2 release on Windows 10 (2004). Am i missing something obvious?
Edit:
I just tried the latest nightly (thanks @Quirijn ) and my lens is properly detected. So i just have to be patient it seems
The exiv2.ini is needed to override the lens identification when darktable imports the exif values. So the term must be changed to match the lensfun term. Usually the exif values are determined only at the initial import - so later changes of exiv2.ini doesn‘t update the metadata shown in darktable. So you need to reimport the affected images
Thank you very much! i was only restarting darktable each time, but did not know that i had to reimport. Now everything works fine! Sorry for my stupidity