Bug #947

LensID 137 in exiv2 0.23 and 0.24 instead of Tamron as Sigma ???

Added by Thomas Mörschel almost 8 years ago. Updated over 6 years ago.

Target version:
Start date:
24 Jan 2014
Due date:
31 Aug 2014
% Done:


Estimated time:


I am using Darktable, in Versions 1.2.3 and also in 1.4.
The LensId 137, Tamron SP AF 17-50mm f/2.8 XR Di II VC LD Aspherical [IF] (B005), is shown up as a Sigma 17-50 Lens ??
Checking the EXIF Data inside the RAW shows up that everything is fine with the RAW.

exifprob => CameraSettings.22_LensType = 137.

exiv2 -pt raw-image-name | grep -i lens

Exif.CanonCs.LensType Short 1 137
Exif.CanonCs.Lens Short 3 17.0 - 50.0 mm
Exif.Canon.LensModel Ascii 74 17-50mm����
Exif.Photo.LensSpecification Rational 4 17/1 50/1 0/1 0/1
Exif.Photo.LensModel Ascii 8 17-50mm
Exif.Photo.LensSerialNumber Ascii 11 0000000000

Files (19.1 MB) Testimage for further investigations Thomas Mörschel, 24 Jan 2014 02:59
DT1_4-Tamron17-50.png (30.1 KB) DT1_4-Tamron17-50.png Shown Picture Info of Darktable Thomas Mörschel, 24 Jan 2014 02:59

Related issues

Related to Exiv2 - Patch #982: Improve detection of Canon lenses sharing the same IDsClosed15 Aug 201431 Aug 2014




Updated by Niels Kristian Bech Jensen almost 8 years ago

  • Category set to metadata
  • Status changed from New to Assigned
  • Assignee set to Niels Kristian Bech Jensen
  • Target version set to 0.25

Exiv2 has no way to recognized the two 17-50mm f/2.8 lenses from each other since Canon cameras does not encode lens maker IDs in makernotes.

The problem with showing the lenstype as a number is probably the same as issues #926, #927 and #938.

Best regards,
Niels Kristian Bech Jensen


Updated by Niels Kristian Bech Jensen about 7 years ago

  • Due date set to 31 Aug 2014
  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed by r3340. The lens ID is no longer shown as a number.

Best regards,
Niels Kristian Bech Jensen


Updated by Andreas Huggel over 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF