[Digikam-devel] [Bug 220444] auto lens correction does not recognize a listed camera and lens using exif data
Manuel
kde.20.micorreo at spamgourmet.com
Tue Dec 29 19:09:41 GMT 2009
https://bugs.kde.org/show_bug.cgi?id=220444
--- Comment #16 from Manuel <kde 20 micorreo spamgourmet com> 2009-12-29 20:09:40 ---
(In reply to comment #9)
> Information taken from Exif to extract Lens info are processed by Exiv2
> library.
>
> Yes, we use Exif to identify Lens...
>
> Look code here :
>
> http://lxr.kde.org/source/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp#941
>
> But perhaĊ your model is not detected properly. Which Exiv2 version you use ?
>
> Gilles Caulier
Accoding to
QString DMetadata::getLensDescription() const
...
lensExifTags.append("Exif.CanonCs.Lens"); // Canon Cameras
Makernote.
lensExifTags.append("Exif.Canon.0x0095"); // Alternative Canon
Cameras Makernote.
...
Digikam gets
Exif.CanonCs.Lens Short 3 50.0 mm
Exif.Canon.0x0095 Ascii 64 EF50mm f/1.4 USM
and omit
Exif.CanonCs.LensType Short 1 Canon EF 50mm f/1.4
USM
Which is more similar to editor plugin's lens list. I didn't rich the plugins
source yet so I don't know if it use another field to match the list
This USM lens does not match exactly any in the list, I'll look for another
example using camera kit
Later
Manuel
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list