[Digikam-devel] [Bug 251920] New: Digikam should match lenses on Exif.CanonCs.LensType, not ExifCanonCs.Lens

Buchan Milne bgmilne at mandriva.org
Tue Sep 21 12:11:33 BST 2010


https://bugs.kde.org/show_bug.cgi?id=251920

           Summary: Digikam should match lenses on Exif.CanonCs.LensType,
                    not ExifCanonCs.Lens
           Product: digikam
           Version: 1.4.0
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Image Editor
        AssignedTo: digikam-devel at kde.org
        ReportedBy: bgmilne at mandriva.org


Version:           1.4.0 (using KDE 4.4.3) 
OS:                Linux

Digikam Lens correction wasn't automatically choosing the correct lens from the
lensfun database. Canon cameras return different information for the Lens and
LensType tags:

$ exiv2 -pa IMG_2775.JPG |grep Lens
Exif.CanonCs.LensType                        Short       1  Canon EF 70-300mm
f/4-5.6 IS USM
Exif.CanonCs.Lens                            Short       3  70.0 - 300.0 mm

While the Lens tag has valid information, the actual Lens model is only correct
in LensType.

With the attached patch (only, no other patches), digikam automatically matches
the correct lens.

Reproducible: Always

Steps to Reproduce:
Find an image taken on a Canon DSLR (I used Canon EOS 500D) with a lens listed
in the lensfun database (I used "Canon EF-S 17-85mm f/4-5.6 IS USM", which is
in lensfun 0.2.5, and and "Canon EF 70-300mm f/4-5.6 IS USM" for which I have
created a lens profile). Enter the editor, Enhance->Lens->Auto-correction

Actual Results:  
See that you need to select the lens manually.

Expected Results:  
The lens should be selected automatically.

With the attached patch, images taken with both lenses I have resulted in
automatic selection of the correct lens profile.

-- 
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