Lens Correction not working

Hmmm. Here is what I get from a cheap Nikon lens that is at least 6 years old:

$ exiv2 -pt DSC_4277.NEF|grep -i 'lens\|model\|make'
Exif.Image.Make                              Ascii      18  NIKON CORPORATION
Exif.Image.Model                             Ascii      12  NIKON D3300
Exif.Photo.MakerNote                         Undefined 157168  (Binary value suppressed)
Exif.MakerNote.Offset                        Long        1  3088
Exif.MakerNote.ByteOrder                     Ascii       3  II
Exif.Nikon3.LensType                         Byte        1  D G VR
Exif.Nikon3.Lens                             Rational    4  55-200mm F4-5.6
Exif.Nikon3.LensFStops                       Undefined   4  4.91667
Exif.NikonLd3.LensIDNumber                   Byte        1  Nikon AF-S DX VR Zoom-Nikkor 55-200mm f/4-5.6G IF-ED
Exif.NikonLd3.LensFStops                     Byte        1  F4.9

exiv2 is doing table lookups here. Look at the data types; Exif.NikonLd3.LensIDNumber is a Byte - can’t store that string in 8 bits…

That’s why I used -n with exiftool; that compels the program to display what’s actually stored in the field, in a displayable format.

1 Like

Ok, thanks. I’m in way over my head with this stuff.

Your command gives:
[MakerNotes] Lens Type : 14
[MakerNotes] Lens : 55 200 4 5.6
[MakerNotes] Lens Data Version : 0204
[MakerNotes] Lens ID Number : 144
[MakerNotes] Lens F Stops : 4.91666666666667
[Composite] Lens ID : 90 3B 53 80 30 3C 92 0E
[Composite] Lens Spec : 55 200 4 5.6 14

I’m a bit-head so that stuff comes natural. Color science is another thing… :scream: