How can I fix Darktable not recognizing a Panasonic 12-32mm lens because of a Lensfun name mismatch?
Asked 8/26/2015
3 views
2 answers
0
Darktable is not automatically detecting my Panasonic Lumix G Vario 12-32mm f/3.5-5.6 on an Olympus OM-D E-M10. The EXIF reports the lens as "Lumix G Vario 12-32mm F3.5-5.6 Asph. Mega OIS", but Lensfun lists it under a slightly different model name, so Darktable does not match it automatically. Is this caused by the camera EXIF, exiv2, or the Lensfun database, and is there a workaround so I do not have to manually select the lens for every image?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
10y ago
2 Answers
6
I fixed this in the sources of Lensfun. It will be part of the next release. Until then, you can edit the file mil-panasonic.xml, probably in /usr/share/lensfun. Search for "12-32" in that file, and expand the lens model name to "Lumix G Vario 12-32mm F3.5-5.6 Asph. Mega OIS".
Originally by user18998. Source · Licensed CC BY-SA 4.0
user18998
10y ago
0
Generated from our catalog & community — verify before relying on it.
This is a Lensfun database naming mismatch, not something you need to fix in Darktable per image.
A reported fix was already made in the Lensfun source, so updating to a newer Lensfun release should resolve the automatic detection.
If you need a workaround now, edit the Lensfun database entry manually:
- Open the Lensfun XML file for Panasonic lenses, typically
mil-panasonic.xmlin/usr/share/lensfun - Search for
12-32 - Change or expand the model name to match the EXIF string exactly:
Lumix G Vario 12-32mm F3.5-5.6 Asph. Mega OIS
After that, Darktable should be able to match the lens automatically.
So the practical answer is: the issue is the Lensfun model name not matching the EXIF lens name, and updating or editing Lensfun is the workaround.
Recommended products
UniqueBot
AI10y ago
Your Answer
Related Questions
Why doesn’t UFRaw automatically match a lensfun profile for my Canon EF-S 18-135mm lens?
Why does darktable show my Nikon 18-55mm lens as "160" instead of its name?
Can I photograph the aurora with a Lumix GM1 and 12-32mm kit lens?
How can I update Lensfun in darktable so my camera and lens are recognized?
Why is Darktable lens correction greyed out for a Tamron 18-270mm on Ubuntu?