[Digikam-users] lenscorrection from batch queue doesn't work for canon powershot g1x
Gilles Caulier
caulier.gilles at gmail.com
Tue Aug 19 09:51:57 BST 2014
2014-08-19 9:47 GMT+02:00 Torsten Bronger <bronger at physik.rwth-aachen.de>:
> Hallöchen!
>
> Joachim Ullrich writes:
>
>> [...]
>>
>> I had to correct the lensfun data in compact-canon.xml because the
>> camera id as it written to the exifdata is "G1 X" whereas lensfun
>> has a definition for a "G1X" (no space).
>
> This is odd. Lensfun splits the name into three so-called words:
> "G", "1", and "X". Thus, "G1 X" and "G1X" are equivalent to
> Lensfun. Maybe DigiKam doesn't use Lensfun's lookup function and
> does its own matching?
digiKam get camera make and model from Exif or XMP.
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dimg/filters/lens/lensfuniface.cpp#L225
After that it pass these value to Lensfun to check if calibration data
are available.
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dimg/filters/lens/lensfuniface.cpp#L141
You will see some rules to handle special camera model here :
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dimg/filters/lens/lensfuniface.cpp#L238
Perhaps this is needs for your "G1 X"
Gilles Caulier
More information about the Digikam-users
mailing list