Bug #791
Missing LensIDNumber: Tamron SP AF 17-50mm F/2,8 XR Di II LD Aspherical [IF] - Nikon mount
100%
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
History
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)
Updated by Philip Johnsson about 10 years ago
- File SBP_3069.JPG SBP_3069.JPG added
Attached unmodified JPG taken with my Nikon D7000 and Tamron SP AF 17-50mm F/2,8 XR Di II LD Aspherical [IF].
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
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?
Updated by Andreas Huggel about 10 years ago
He can get the image from here, I highlighted this bug report to him today.
-ahu.
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.