ExifTool Forum

ExifTool => Developers => Topic started by: sunmike on February 05, 2012, 01:48:49 AM

Title: decimal value of canon lens means?
Post by: sunmike on February 05, 2012, 01:48:49 AM
I want know canon lens information,but don't use exiftool ,  I want develope php exif extension to read the lens information,
but I don't know the difference  for example
4   = Canon EF 35-105mm f/3.5-4.5 or Sigma Lens
4.1   = Sigma UC Zoom 35-135mm f/4-5.6
I read the documention link:http://www.exiftool.org/TagNames/Canon.html#LensType
Canon LensType Values 22    LensType int16s    --> Canon LensType Values
LensType is int16s,but 4.1 ? who can explain decimal value of canon lens means?

I'm sorry for my poor english


Title: Re: decimal value of canon lens means?
Post by: BogdanH on February 05, 2012, 03:16:18 AM
Hi,

In reality, decimal lens ID doesn't exist. Because third pary lenses (Sigma, Tokina,etc.) use the same ID values as Canon, Phil decided to put decimal point (for such cases) into documentation. That is, ID=4 means Canon lens was used, but it could also be Sigma, etc.

Bogdan
Title: Re: decimal value of canon lens means?
Post by: sunmike on February 07, 2012, 07:33:44 PM
@BogdanH  Thank you!