Bug 250081

Summary: lens-autocorrection does not recognize the lens automaticly for Canon EOS 450D
Product: [Applications] digikam Reporter: escho <hipescho>
Component: Plugin-Editor-LensCorrectionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 1.5.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 1.5.0

Description escho 2010-09-03 21:58:12 UTC
Version:           1.5.0 (using KDE 4.5.0) 
OS:                Linux

For Canon-SLRs the "Lens"-Tag is used to autodetect lenses. This does not succeed. Using the "LensType" tag run great for my lenses and me.

Reproducible: Always




Patch to fix this:

Index: libs/dmetadata/dmetadata.cpp
===================================================================
--- libs/dmetadata/dmetadata.cpp	(Revision 1170686)
+++ libs/dmetadata/dmetadata.cpp	(Arbeitskopie)
@@ -964,7 +964,7 @@
 
     // In first, try to get Lens information from makernotes.
 
-    lensExifTags.append("Exif.CanonCs.Lens");          // Canon Cameras Makernote.
+    lensExifTags.append("Exif.CanonCs.LensType");      // Canon Cameras Makernote.
     lensExifTags.append("Exif.Canon.0x0095");          // Alternative Canon Cameras Makernote.
     lensExifTags.append("Exif.NikonLd1.LensIDNumber"); // Nikon Cameras Makernote.
     lensExifTags.append("Exif.NikonLd2.LensIDNumber"); // Nikon Cameras Makernote.
Comment 1 caulier.gilles 2010-09-05 18:09:29 UTC
SVN commit 1171894 by cgilles:

add more Canon makernotes to extract Lens data
BUGS: 250081


 M  +1 -0      dmetadata.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1171894