Bug #603
Exiv2 does not read lens maker.
100%
Description
Exiv2 0.18 does not read the lens maker in all instances. I this case it is a Tamron 18-200mm 3.5-6.3 on a Nikon D300.
This is the output from exiv2 -pt DSC_0009.JPG | grep Lens:
Exif.Nikon3.LensType Byte 1 D G
Exif.Nikon3.Lens Rational 4 18-200mm F3.5-6.3
Exif.Nikon3.LensFStops Undefined 4 5.33333
Exif.Nikon3.LensData Undefined 32 48 50 48 51 253 159 148 155 194 148 73 158 150 156 175 124 84 123 183 53 224 104 105 195 32 159 192 135 239 249 166 248
This is the output from ExifTool 7.60 on the same file:
Lens Type : G
Lens : 18-200mm f/3.5-6.3
Lens Data Version : 0203
Lens ID Number : 0
Lens F Stops : 5.33
Lens ID : Tamron AF 18-200mm f/3.5-6.3 XR Di-II LD Aspherical (IF) Macro
Lens : 18-200mm f/3.5-6.3 G
I have attached the JPEG file (reduced size) and full output from exiv2 -pt and exiftool. Please let me know if you need more data.
Regards,
Niels Kristian Bech Jensen
Files
History
Updated by Andreas Huggel almost 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Thanks for the information! The ID of this lens was missing.
Fixed in r1728.
Updated by Niels Kristian Bech Jensen over 12 years ago
- File nikonmn.diff nikonmn.diff added
Update the lens model. It is "A14NII". Patch attached.
Updated by Andreas Huggel over 12 years ago
From Robert Rottmerhusen, who maintains the Nikon lens database:
I plan to put the lens model in a seperate data field in my own list.
It can be an extra field in the c header too, so the EXIF reader can choose
how and where to display it.