Skip to content

"Canon EF 80-200mm f/4.5-5.6 II" identified as "Canon EF 80-200mm f/4.5-5.6" #1906

Closed
@John55h

Description

This issue causes darktable to apply lens correction "Canon EF 80-200mm f/4.5-5.6" to images using "Canon EF 80-200mm f/4.5-5.6 II"

$ exiv2 -V
exiv2 0.27.4

exiv2 0.27.4 output for Canon EF 80-200mm f/4.5-5.6 II

$ exiv2 -pt  IMG_9824.jpg |grep -ai lens
Exif.CanonCs.LensType                        Short       1  Canon EF 80-200mm f/4.5-5.6
Exif.CanonCs.Lens                            Short       3  80.0 - 200.0 mm
Exif.Canon.LensModel                         Ascii      70  EF80-200mm f/4.5-5.6 II
Exif.Photo.LensSpecification                 Rational    4  80/1 200/1 0/0 0/0
Exif.Photo.LensModel                         Ascii      70  EF80-200mm f/4.5-5.6 II
Exif.Photo.LensSerialNumber                  Ascii      12  0000000000

The original lens "Canon EF 80-200mm f/4.5-5.6" (I believe) is tagged 28 in TagDetails canonCsLensTtype[] (see canonmn_int.cpp) and the "II" version is tagged 38.

Output of exiv2 for Canon EF 80-200mm f/4.5-5.6 II after applying the patch below:

--- canonmn_int.cpp_0.27.4  2021-06-15 15:08:36.000000000 +0100
+++ canonmn_int.cpp 2021-09-15 20:33:07.463988944 +0100
@@ -1676,7 +1676,7 @@
         {   37, "Tamron AF 28-300mm f/3.5-6.3 XR Di VC LD Aspherical [IF] Macro"}, // 2
         {   37, "Tamron SP AF 17-50mm f/2.8 XR Di II VC LD Aspherical [IF]" }, // 3
         {   37, "Tamron AF 18-270mm f/3.5-6.3 Di II VC LD Aspherical [IF] Macro"}, // 4
-        {   38, "Canon EF 80-200mm f/4.5-5.6"                               },
+        {   38, "Canon EF 80-200mm f/4.5-5.6 II"                            },
         {   39, "Canon EF 75-300mm f/4-5.6"                                 },
         {   40, "Canon EF 28-80mm f/3.5-5.6"                                },
         {   41, "Canon EF 28-90mm f/4-5.6"                                  },
$ exiv2 -pt  IMG_9824.jpg |grep -ai lens
Exif.CanonCs.LensType                        Short       1  Canon EF 80-200mm f/4.5-5.6 II
Exif.CanonCs.Lens                            Short       3  80.0 - 200.0 mm
Exif.Canon.LensModel                         Ascii      70  EF80-200mm f/4.5-5.6 II
Exif.Photo.LensSpecification                 Rational    4  80/1 200/1 0/0 0/0
Exif.Photo.LensModel                         Ascii      70  EF80-200mm f/4.5-5.6 II
Exif.Photo.LensSerialNumber                  Ascii      12  0000000000

Darktable now correctly identifies this lens as version "II" and does not apply any correction (no lensfun data), I hope to add correction data to lensfun for this lens at some point.

Small jpeg with "Canon EF 80-200mm f/4.5-5.6 II"
IMG_9832

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions