Skip to content

Canon EF 27-200mm f/2.8L IS II USM: Lenstype not properly detected by 0.28.3 #3052

Open
@MStraeten

Description

@MStraeten

Describe the bug

while lens model is properly detected, lenstype is not properly set:

exiv2 -pa --grep lens/i 20150718-IMG_7039.CR2
Exif.CanonCs.LensType                        Short       1  Canon EF 70-200mm f/2.8L IS II USM *OR* Canon EF 70-200mm f/2.8L IS III USM
Exif.CanonCs.Lens                            Short       3  70.0 - 200.0 mm
Exif.Canon.LensModel                         Ascii      74  EF70-200mm f/2.8L IS II USM
Exif.CanonLe.LensSerialNumber                Byte        5  000041f4cd
Exif.Photo.LensSpecification                 Rational    4  70-200mm
Exif.Photo.LensModel                         Ascii      28  EF70-200mm f/2.8L IS II USM
exiv2 -pv --grep lens/i 20150718-IMG_7039.CR2
0x0016 CanonCs      LensType                    Short       1  251
0x0017 CanonCs      Lens                        Short       3  200 70 1
0x0095 Canon        LensModel                   Ascii      74  EF70-200mm f/2.8L IS II USM
0x0000 CanonLe      LensSerialNumber            Byte        5  0 0 65 244 205
0xa432 Photo        LensSpecification           Rational    4  70/1 200/1 0/1 0/1
0xa434 Photo        LensModel                   Ascii      28  EF70-200mm f/2.8L IS II USM

To Reproduce

Steps to reproduce the behavior:
file to reproduce: 20150718-IMG_7039.CR2

Expected behavior

exiv 0.27.6 properly identified that lens

Desktop (please complete the following information):

  • OS and version: macOS 15.0.1
  • Exiv2 version and source: 0.28.3 custom build using macports and adapted portfile; source from exiv2.org
  • Compiler and version: xcode 16

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions