Project

General

Profile

Feature #1335

Missing Nikon lense

Added by Niels Hansen almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lens
Target version:
Start date:
29 Jan 2018
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

I have a Nikkor AF-S 24 mm f/1.8 ED lense that cannot be found in the lense database.

Readout from EXIV2
exiv2 -pt DSC_5229.NEF|grep -ai lens
Exif.Nikon3.LensType Byte 1 D G
Exif.Nikon3.Lens Rational 4 24mm F1.8
Exif.Nikon3.LensFStops Undefined 4 6.33333
Exif.NikonLd3.LensIDNumber Byte 1 Nikon AF-S Nikkor 24mm f/1.8G ED
Exif.NikonLd3.LensFStops Byte 1 F6.3

Link to Nikon website: http://imaging.nikon.com/lineup/lens/singlefocal/wide/af-s_24mmf_18g_ed/index.htm


Files

DSC_6424.JPG (3.95 MB) DSC_6424.JPG Niels Hansen, 29 Jan 2018 16:22

History

#1

Updated by Robin Mills almost 4 years ago

  • Status changed from New to Closed
  • Assignee set to Robin Mills
  • % Done changed from 0 to 100
  • Estimated time set to 1.00 h

http://dev.exiv2.org/boards/3/topics/3017

510 rmills@rmillsmbp:~/temp $ exiv2 -pa --grep lens/i ~/Downloads/DSC_6424.JPG 
Exif.Nikon3.LensType                         Byte        1  D G 
Exif.Nikon3.Lens                             Rational    4  24mm F1.8
Exif.Nikon3.LensFStops                       Undefined   4  6.33333
Exif.NikonLd3.LensIDNumber                   Byte        1  Nikon AF-S Nikkor 24mm f/1.8G ED  <=== built in "definition" 
Exif.NikonLd3.LensFStops                     Byte        1  F6.3
511 rmills@rmillsmbp:~/temp $ exiv2 -pv --grep lens/i ~/Downloads/DSC_6424.JPG 
0x0083 Nikon3       LensType                    Byte        1  6
0x0084 Nikon3       Lens                        Rational    4  240/10 240/10 18/10 18/10
0x008b Nikon3       LensFStops                  Undefined   4  76 1 12 0
0x000c NikonLd3     LensIDNumber                Byte        1  175    <--- LensID == 175
0x000d NikonLd3     LensFStops                  Byte        1  76
512 rmills@rmillsmbp:~/temp $ ce ~/.exiv2 
bbedit "/Users/rmills/.exiv2" 

513 rmills@rmillsmbp:~/temp $ cat ~/.exiv2 
[nikon]
175=Nikkor AF-S 24 mm f/1.8 ED     <=== Modify the "value" of 175

514 rmills@rmillsmbp:~/temp $ exiv2 -pa --grep lens/i ~/Downloads/DSC_6424.JPG 
Exif.Nikon3.LensType                         Byte        1  D G 
Exif.Nikon3.Lens                             Rational    4  24mm F1.8
Exif.Nikon3.LensFStops                       Undefined   4  6.33333
Exif.NikonLd3.LensIDNumber                   Byte        1  Nikkor AF-S 24 mm f/1.8 ED <=== Here's the result
Exif.NikonLd3.LensFStops                     Byte        1  F6.3
515 rmills@rmillsmbp:~/temp $ 

Also available in: Atom PDF