Bug 250081 - lens-autocorrection does not recognize the lens automaticly for Canon EOS 450D
Summary: lens-autocorrection does not recognize the lens automaticly for Canon EOS 450D
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-LensCorrection (show other bugs)
Version: 1.5.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 21:58 UTC by escho
Modified: 2016-07-01 09:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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