digographer
Member
Hello,
I am using exiftool to decode lens data from the exif of images. This is what I can see in the JPEG of an image taken with a Canon Lens (JPEG mode):
$ exiftool IMG_6000.JPG |grep Lens
Lens Type : Canon EF-S 17-55mm f/2.8 IS USM
Lens Model : EF-S17-55mm f/2.8 IS USM
Lens Drive No AF : Focus search on
Lens AF Stop Button : AF stop
Lens : 17.0 - 55.0 mm
Lens ID : Canon EF-S 17-55mm f/2.8 IS USM
Lens : 17.0 - 55.0 mm (35 mm equivalent: 26.9 - 87.2 mm)
(note: there's no blank lines in the above machine-generated output, it's an artifact of the forum's formatting logic).
As one can see, the lens description can be found in several places of the exif. The description is very comprehensive, at least for my lens.
The description is very inaccurate when the image is taken by a non-Canon lens:
$ exiftool IMG_6174.JPG |grep Lens
Lens Type : Canon EF 17-35mm f/2.8L or Sigma Lens
Lens Model : 50mm
Lens Drive No AF : Focus search on
Lens AF Stop Button : AF stop
Lens : 50.0 mm
Lens ID : Sigma 18-200mm f/3.5-6.3 DC OS + 2.8x or Sigma 18-50mm f/2.8 Macro + 2.8x
Lens : 50.0 mm (35 mm equivalent: 79.2 mm)
Indeed, that image has been taken with Sigma 50mm f/1.4. The lens description in the report is inconsistent and in both cases does not match the reality.
Question: is this error related to the way the camera stores the data in the exif, or to the way exiftool interprets the data? In other words, whose bug am I stepping on here?
Thanks in advance for your insight!
I am using exiftool to decode lens data from the exif of images. This is what I can see in the JPEG of an image taken with a Canon Lens (JPEG mode):
$ exiftool IMG_6000.JPG |grep Lens
Lens Type : Canon EF-S 17-55mm f/2.8 IS USM
Lens Model : EF-S17-55mm f/2.8 IS USM
Lens Drive No AF : Focus search on
Lens AF Stop Button : AF stop
Lens : 17.0 - 55.0 mm
Lens ID : Canon EF-S 17-55mm f/2.8 IS USM
Lens : 17.0 - 55.0 mm (35 mm equivalent: 26.9 - 87.2 mm)
(note: there's no blank lines in the above machine-generated output, it's an artifact of the forum's formatting logic).
As one can see, the lens description can be found in several places of the exif. The description is very comprehensive, at least for my lens.
The description is very inaccurate when the image is taken by a non-Canon lens:
$ exiftool IMG_6174.JPG |grep Lens
Lens Type : Canon EF 17-35mm f/2.8L or Sigma Lens
Lens Model : 50mm
Lens Drive No AF : Focus search on
Lens AF Stop Button : AF stop
Lens : 50.0 mm
Lens ID : Sigma 18-200mm f/3.5-6.3 DC OS + 2.8x or Sigma 18-50mm f/2.8 Macro + 2.8x
Lens : 50.0 mm (35 mm equivalent: 79.2 mm)
Indeed, that image has been taken with Sigma 50mm f/1.4. The lens description in the report is inconsistent and in both cases does not match the reality.
Question: is this error related to the way the camera stores the data in the exif, or to the way exiftool interprets the data? In other words, whose bug am I stepping on here?
Thanks in advance for your insight!