Project

General

Profile

Bug #603

Exiv2 does not read lens maker.

Added by Niels Kristian Bech Jensen almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
exif
Target version:
Start date:
13 Jan 2009
Due date:
% Done:

100%

Estimated time:

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

DSC_0009.JPG (123 KB) DSC_0009.JPG JPEG test file. Niels Kristian Bech Jensen, 13 Jan 2009 00:38
DSC_0009.JPG.exiv2 (8.74 KB) DSC_0009.JPG.exiv2 Output from Exiv2 0.18. Niels Kristian Bech Jensen, 13 Jan 2009 00:38
DSC_0009.JPG.exiftool (7.3 KB) DSC_0009.JPG.exiftool Output from ExifTool 7.60. Niels Kristian Bech Jensen, 13 Jan 2009 00:38
nikonmn.diff (1.02 KB) nikonmn.diff Niels Kristian Bech Jensen, 28 Feb 2009 03:04

History

#1

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.

#2

Updated by Andreas Huggel almost 13 years ago

  • Category set to exif
#3

Updated by Andreas Huggel almost 13 years ago

  • Target version set to 0.18.1
#4

Updated by Niels Kristian Bech Jensen over 12 years ago

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

#5

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.

#6

Updated by Andreas Huggel over 12 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF