Tokina AF 11-16mm f/2.8

Started by EricB, March 01, 2012, 07:00:18 PM

Previous topic - Next topic

EricB

As I see some request about missing LensID, I've checked some pictures with my current lenses.
One is not properly recognized: the "Tokina AF 11-16mm f/2.8 AT-X Pro DX" on Canon EOS mount.
However, the information is very short, so I don't know if it can be added:
Lens                            : 11.0 - 16.0 mm
Lens ID                         : Unknown (160) 11-16mm

On the other hand, it might be the single lens on the market with such a range!

By the way, I see also the tag "Lens Type". It this a data from the MakerNotes? It seems to be ok with Canon lenses, but quite wrong with 3rd party lenses: this Tokina is recognized as a "Canon EF 20-35 f/3.5-f/4.5 USM  or Sigma or Tamron Lens"; a "Sigma 17-50 f/2.8 OS HSM" (in Lens ID) as a "Canon 85mm f/1.2L or Sigma or Tamron Lens"...


Phil Harvey

Thanks.  I'll add this Tokina lens to the next release.

The LensType is a number that alone is not enough to uniquely identify 3rd party lenses.  LensID is a composite tag that uses the values of other tags to try to narrow this down to a specific lens.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

EricB

Thanks.
From which part (exif/iptc/xmp) are the LensType and LensID?
Is the fullname of the LensID an internal interpretation of Exiftool or is this string written somewhere in the file?
Question behind is: it is possible to read this string from an other tool, or do each tool have to map the Id with the name?

Phil Harvey

All cameras are different.  A few store ASCII lens names (usually in a LensModel tag), but most store a numerical value in a LensType tag.  Then you need a lookup table for each different make to convert this to a string.

- PHil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).