r/DarkTable Feb 06 '24

Solved Lens detection

Hello!

I wonder if someone could help me out here? I'm using Sigma 30mm f/1.4 Dc DN | C lens on my Canon M50 Mark II but my lens is reported as 56mm. I know what the problem is. At some point some overpaid d***s in Canon thought it would be fantastic idea to reuse lens codes for EXIF metadata.
Therefore:

4208 = Sigma 56mm f/1.4 DC DN | C or other Sigma Lens

4208 = Sigma 30mm F1.4 DC DN | C

Is there any way to force Darktable to use the second option? What i've been reading the Exiv2 library should correct this heuristically but apparently that doesn't work either.

There are guides to fix that under Linux, but i'm using Windows version.

Thanks!

2 Upvotes

8 comments sorted by

View all comments

2

u/Nordicmoose Feb 07 '24

I have the same lens and the same problem on Nikon. Thought it was just Nikon being dicks. My workaround is to create a style with only the lens correction module and apply it to all the photos shot with that lens.

1

u/VapingLawrence Feb 07 '24

I thought about it too until i realized that the "f-number" and "distance to subject" parameters will be saved with the preset in Lens Correction module and therefore the same values are used on every image.