Bug #603

Exiv2 does not read lens maker.

Added by Niels Kristian Bech Jensen over 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:13 Jan 2009
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:exif
Target version:0.18.1

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

DSC_0009.JPG - JPEG test file. (123 KB) Niels Kristian Bech Jensen, 13 Jan 2009 00:38

DSC_0009.JPG.exiv2 - Output from Exiv2 0.18. (8.74 KB) Niels Kristian Bech Jensen, 13 Jan 2009 00:38

DSC_0009.JPG.exiftool - Output from ExifTool 7.60. (7.3 KB) Niels Kristian Bech Jensen, 13 Jan 2009 00:38

nikonmn.diff Magnifier (1.02 KB) Niels Kristian Bech Jensen, 28 Feb 2009 03:04

History

#1 Updated by Andreas Huggel over 8 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.

#2 Updated by Andreas Huggel over 8 years ago

  • Category set to exif

#3 Updated by Andreas Huggel about 8 years ago

  • Target version set to 0.18.1

#4 Updated by Niels Kristian Bech Jensen about 8 years ago

Update the lens model. It is "A14NII". Patch attached.

#5 Updated by Andreas Huggel about 8 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.

#6 Updated by Andreas Huggel about 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux