Project

General

Profile

Bug #791

Missing LensIDNumber: Tamron SP AF 17-50mm F/2,8 XR Di II LD Aspherical [IF] - Nikon mount

Added by Philip Johnsson about 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
exif
Target version:
Start date:
05 Oct 2011
Due date:
% Done:

100%

Estimated time:

Description

I have the Tamron SP AF 17-50mm F/2,8 XR Di II LD Aspherical [IF] with Nikon mount. If I run the following I don't get a real LensIDNumber using Exiv2 0.22. Camera in use is a Nikon D7000:

$ exiv2 -pt SBP_1217.NEF | grep -i lens
Exif.Nikon3.LensType Byte 1 D G
Exif.Nikon3.Lens Rational 4 17-50mm F2.8
Exif.Nikon3.LensFStops Undefined 4 7
Exif.NikonLd3.LensIDNumber Byte 1 251
Exif.NikonLd3.LensFStops Byte 1 F7.0

I guess the Exif.NikonLd3.LensIDNumber should be "Tamron SP AF 17-50mm F/2,8 XR Di II LD Aspherical [IF]" or something like that and not just 251? Same with all .nef-files with this Tamron lens.

Not your tool but might give some interesting data:

exiftool SBP_1217.NEF | grep -i lens
Lens Type : G
Lens : 17-50mm f/2.8
Lens Data Version : 0204
Lens ID Number : 251
Lens F Stops : 7.00
Lens ID : Unknown (FB 54 2B 50 24 24 84 06)
Lens : 17-50mm f/2.8 G


Files

SBP_3069.JPG (1.4 MB) SBP_3069.JPG Philip Johnsson, 06 Oct 2011 04:00

History

#1

Updated by Andreas Huggel about 10 years ago

Philip, can you please attach an unedited picture, I'd like to show this to Robert Rottmerhusen, who maintains the Nikon lens list that Exiv2 uses (and exiftool too afaik)

#2

Updated by Philip Johnsson about 10 years ago

Attached unmodified JPG taken with my Nikon D7000 and Tamron SP AF 17-50mm F/2,8 XR Di II LD Aspherical [IF].

#3

Updated by Andreas Huggel about 10 years ago

Exiv2 uses the current Version 4.3.423.01 of the fmountlens list from http://www.rottmerhusen.com/objektives/lensid/files/c-header/fmountlens4.h

#4

Updated by Philip Johnsson about 10 years ago

How you sent my picture to Robert Rottmerhusen for an update of fmountlens4.h or should I?

#5

Updated by Andreas Huggel about 10 years ago

He can get the image from here, I highlighted this bug report to him today.

-ahu.

#6

Updated by Andreas Huggel about 10 years ago

  • Category set to exif
  • Status changed from New to Resolved
  • Assignee set to Andreas Huggel
  • Target version set to 0.23
  • % Done changed from 0 to 100

From Robert:
"yes most of the newer Tamron lenses have two ID's. I added the new one
to my list and updated the header file. Homepage will be updated with
the next major update in November or so."

I've updated the exiv2 list (r2621), use the svn trunk version to get the change, it is currently still binary compatible with 0.22.

#7

Updated by Philip Johnsson about 10 years ago

Works fine now with r2621 but I also needed the r2620 commit to make it build without braking on 0.22.

Thanks.

#8

Updated by Andreas Huggel over 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF