Feature #1370

Add entry for new(ish) lens - Tamron 10-24mm F/3.5-4.5 Di II VC HLD (B023)

Added by Robert Sleator 2 months ago. Updated 2 months ago.

Status:ClosedStart date:05 Oct 2018
Priority:NormalDue date:
Assignee:Robin Mills% Done:

100%

Category:lensEstimated time:1.00 hour
Target version:0.27

Description

This lens is not in the repository at http://dev.exiv2.org/projects/exiv2/repository/entry/trunk/src/nikonmn.cpp#L1737

Tamron 10-24mm F/3.5-4.5 Di II VC HLD (Model B023)

http://www.tamron-usa.com/product/lenses/b023.html

Output from exiv2 -pt FILENAME | grep -ai lens on image taken with Nikon D7200:

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

DSC_2500.JPG (1.13 MB) Robert Sleator, 05 Oct 2018 19:26

History

#1 Updated by Robin Mills 2 months ago

  • Category set to lens
  • Status changed from New to Closed
  • Assignee set to Robin Mills
  • Target version set to 0.27
  • % Done changed from 0 to 100
  • Estimated time set to 1.00

Good News. You can fix this for yourself using the file ~/.exiv2 in v0.26 and later.

596 rmills@rmillsmbp:~/gnu/github/exiv2/exiv2 $ exiv2 -pa --grep lens/i DSC_2500.JPG 
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
Look at the "value" of the lens:
597 rmills@rmillsmbp:~/gnu/github/exiv2/exiv2 $ exiv2 -pv --grep lens/i DSC_2500.JPG 
0x0083 Nikon3       LensType                    Byte        1  78  <--- This
0x0084 Nikon3       Lens                        Rational    4  100/10 240/10 35/10 45/10
0x008b Nikon3       LensFStops                  Undefined   4  64 1 12 0
0x000c NikonLd3     LensIDNumber                Byte        1  225
0x000d NikonLd3     LensFStops                  Byte        1  64
Define that lens in ~/.exiv2
598 rmills@rmillsmbp:~/gnu/github/exiv2/exiv2 $ cat ~/.exiv2 
[nikon]
78=Tamron 10-24mm F/3.5-4.5 Di II VC HLD (B023)
Happiness:
599 rmills@rmillsmbp:~/gnu/github/exiv2/exiv2 $ exiv2 -pa --grep lens/i DSC_2500.JPG 
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  Tamron 10-24mm F/3.5-4.5 Di II VC HLD (B023)
Exif.NikonLd3.LensFStops                     Byte        1  F5.3
600 rmills@rmillsmbp:~/gnu/github/exiv2/exiv2 $ 
This feature is discussed here: http://dev.exiv2.org/projects/exiv2/wiki/Lens_Recognition_in_Exiv2_v026_(and_later)/

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux