Bug #882

Nikon AF-S Nikkor 28mm f/1.8G not recognized

Added by Philip Johnsson about 6 years ago. Updated over 5 years ago.

Status:ClosedStart date:06 Feb 2013
Priority:NormalDue date:
Assignee:Robin Mills% Done:


Target version:0.24


I have taken pictures with my Nikon D7000 and the Nikon AF-S Nikkor 28mm f/1.8G and exiv2 0.23 doesn't recognize the lens ID. Exiftool 9.16 does recognize it though.

Doesn't work:
$ exiv2 -pt_SBP6991.NEF | grep -i lens
Exif.Nikon3.LensType Byte 1 D G
Exif.Nikon3.Lens Rational 4 28mm F1.8
Exif.Nikon3.LensFStops Undefined 4 6.33333
Exif.NikonLd3.LensIDNumber Byte 1 181
Exif.NikonLd3.LensFStops Byte 1 F6.3

Does work:
exiftool _SBP6991.NEF | grep -i lens
Lens Type : G
Lens : 28mm f/1.8
Lens Data Version : 0204
Lens ID Number : 181
Lens F Stops : 6.33
Lens ID : AF-S Nikkor 28mm f/1.8G
Lens : 28mm f/1.8 G

exiv2_nikon_24-85mm_28mm.diff Magnifier (1.03 KB) Niels Kristian Bech Jensen, 06 Feb 2013 18:03

Associated revisions

Revision 2986
Added by Robin Mills about 6 years ago

Issue: #882 "Nikon AF-S Nikkor 28mm f/1.8G not recognized". Thanks to Philip for reporting this and Niels for the patch.


#1 Updated by Niels Kristian Bech Jensen about 6 years ago

Here is a patch for that lens and the AF-S Zoom-Nikkor 24-85mm f/3.5-4.5G IF-ED.

Niels Kristian

#2 Updated by Robin Mills about 6 years ago

  • Category set to metadata
  • Status changed from New to Resolved
  • Assignee set to Robin Mills
  • Target version set to 0.24

Fix submitted. SVN r2986. Thank you Philip and Niels for this contribution.

#3 Updated by Robin Mills over 5 years ago

  • Status changed from Resolved to Closed

Fixed in 0.24.

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux