Images taken with Pentax K-S1 miss lens type information in both Photograph Properties and Lens Auto-Correction module in Image Editor. exiv2 reports it correctly: $ exiv2 -pt IMGP0553.JPG | grep -i lenstype Exif.PentaxDng.LensType Byte 4 smc PENTAX-DA 35mm F2.4 AL Reproducible: Always Steps to Reproduce: 1. Click on image 2. Check 'Photograph Properties' Actual Results: Lens is reported as 'unavailable' Expected Results: Lens should be reported as evix2 reports.
Which digiKam and lensfun versions you use ? Go to Help/Components Info for details. Giles Caulier
Digikam 4.14.0 LibExiv2 0.25 LibLensFun 0.3.1-0 I added camera info into slr-pentax.xml, as it was missing there. Since then Auto-Correction recognizes camera, but not lens type. I am not sure, that this is LensFun problem, as lens info is missing from general Photograph Properties in main window as well. Piotr
The Lens type is read by Exiv2 from Exif. So the problem can come from this library
Well. that's possible. But if so, why exiv2 reports it correctly ?
I also have this problem. My camera is a Pentax K-30. The lens information is "not available". Hovever, the lens type is shown in the Manufacturer Notes. But since the Lens Auto-correction module does not use this information and I can´t search or filter according this information, it has no great use for me. Is it possible to copy the information from the the Manufacturer Notes to a perhaps more standard-conform EXIF field in the database?
Olaf, Sound like a missing feature about Pentax camera in Exiv2 shared lib, dedicated to read metadata from file. Version 0.26 will fix probably the problem : http://dev.exiv2.org/versions/52 But it's not yet released. Just to be sure, can you check with next digiKam 5.4.0 AppImage bundle for Linux to see if problem is reproducible. Note : Exiv2 0.25 is used inside... https://drive.google.com/open?id=0BzeiVr-byqt5Y0tIRWVWelRJenM Gilles Caulier
Git commit 15f323c4908e1c47201090d378e8ad4304e21e91 by Maik Qualmann. Committed on 22/11/2016 at 18:16. Pushed by mqualmann into branch 'master'. add Pentax lens type Makernote FIXED-IN: 5.4.0 M +2 -1 NEWS M +1 -0 libs/dmetadata/dmetadata.cpp http://commits.kde.org/digikam/15f323c4908e1c47201090d378e8ad4304e21e91
Note: This requires a rereading of the metadata from the images. Maik
Hello Gilles, I tried to start digikam-5.4.0-01-x86-64.appimage, but it shows only the splashscreen and terminates with this message: D/tmp/.mount_RzL9Xq/AppRun: Zeile 37: 2288 Speicherzugriffsfehler (Speicherabzug geschrieben) digikam.wrapper $@ olaf@olaf-iMac:~/Downloads$ Seicherzugriffsfehler "memory access fault"? Sorry, German error message... I keep on trying.
I just download the last 5.4.0 AppImage bunble and it do not crash here... Gilles Caulier
It worked with the Win64.exe with Windows 10 in a virtual box- the lens ist shown. It did not work with the x86-64.appimage with clean install of Kubuntu 16.04 in a virtual box. Digikam 5.4.0 starts, but the lens type is "not available". Olaf