Bug #1376

Missing lens: TAMRON 10-24mm F/3.5-4.5 Di II VC HLD

Added by Gaëtan Flament about 1 month ago. Updated about 1 month ago.

Status:ClosedStart date:13 Feb 2019
Priority:NormalDue date:
Assignee:Robin Mills% Done:

0%

Category:lens
Target version:-

Description

Hello,

I am filing this issue because I could not find one of my TAMRON lens in the Nikon-related lens list (I searched here : http://dev.exiv2.org/projects/exiv2/repository/entry/trunk/src/nikonmn.cpp#L1737).
There are 2 TAMRON 10-24mm, but they are quoted as part of the old "SP" series (this one https://www.dpreview.com/reviews/tamron-10-24-3p5-5p6-n15).
Following this post in darktable.org website (https://www.darktable.org/2015/02/on-lens-detection-and-correction/), I send you informations about this lens:

$ exiv2 -pt file.NEF | grep -ai lens
Exif.Nikon3.LensType Byte 1 D G VR
Exif.Nikon3.Lens Rational 4 10-24mm F3.5-4.5
Exif.Nikon3.LensFStops Undefined 4 5.33333
Exif.NikonLd3.LensIDNumber Byte 1 225
Exif.NikonLd3.LensFStops Byte 1 F5.3

Proper lens name: TAMRON 10-24mm F/3.5-4.5 Di II VC HLD

Len's product page: https://www.tamron.eu/lenses/10-24mm-f35-45-di-ii-vc-hld/

Please find a low-quality sample image shot with this lens as an attachment.

Thank you for your work.

DSC_0594.JPG (1.1 MB) Gaëtan Flament, 13 Feb 2019 08:19

History

#1 Updated by Robin Mills about 1 month ago

  • Status changed from New to Closed
  • Assignee set to Robin Mills

You can fix this for yourself using the file ~/.exiv2

615 rmills@rmillsmbp:~/clanmills $ exiv2 -pa --grep lens/i ~/Downloads/DSC00672.JPG 
Exif.Sony1.LensID                            Long        1  Manual lens
Exif.Photo.LensSpecification                 Rational    4  160/10 350/10 28/10 28/10
Exif.Photo.LensModel                         Ascii      19  FE 16-35mm F2.8 GM

616 rmills@rmillsmbp:~/clanmills $ bbedit "/Users/rmills/.exiv2" 

617 rmills@rmillsmbp:~/clanmills $ exiv2 -pv --grep lens/i ~/Downloads/DSC00672.JPG 
0xb027 Sony1        LensID                      Long        1  65535      <--- This your lens ID
0xa432 Photo        LensSpecification           Rational    4  160/10 350/10 28/10 28/10
0xa434 Photo        LensModel                   Ascii      19  FE 16-35mm F2.8 GM

618 rmills@rmillsmbp:~/clanmills $ cat ~/.exiv2
[sony]
65535=TAMRON 10-24mm F/3.5-4.5 Di II VC HLD  <---- Define it here

619 rmills@rmillsmbp:~/clanmills $ exiv2 -pa --grep lens/i ~/Downloads/DSC00672.JPG 
Exif.Sony1.LensID                            Long        1  TAMRON 10-24mm F/3.5-4.5 Di II VC HLD
Exif.Photo.LensSpecification                 Rational    4  160/10 350/10 28/10 28/10
Exif.Photo.LensModel                         Ascii      19  FE 16-35mm F2.8 GM
620 rmills@rmillsmbp:~/clanmills $ 

Here's a discussion I had with somebody yesterday about this. https://github.com/Exiv2/exiv2/issues/693

I added the ~/.exiv2 "config file" in Exiv2 v0.26 for several reasons:

1) To enable you to have your lens recognised without having to wait for a new version of exiv2.
2) To reduce the maintenance effort required by Team Exiv2.

The camera does not store the lens definition in the metadata. It usually has a value for LensID. In your case LensID = 65535 = -1 mean "Manual Lens" = Lens does not have digital interface to the camera.

I've marked this as "closed", however I'm happy to discuss this if you wish.

#2 Updated by Gaëtan Flament about 1 month ago

Thank you very much for your time.
I am kind of new to the photography world in general, and did not see there was already issues on this topic.
I will edit the config file as you suggested, that's perfect.

Thank you again !

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux