ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: yiduo2008 on May 06, 2010, 05:06:22 AM

Title: print "LensID" error?
Post by: yiduo2008 on May 06, 2010, 05:06:22 AM
Hello,

I found many pictures photoed by the same lens but have different  "LensID".



exiftool.exe -LensID "Canon EF85mm f 1.8 USM.jpg"
Lens ID                         : Canon EF85mm f/1.8 USM

exiftool.exe -LensID "Canon EF 85mm f 1.8 USM.jpg"
Lens ID                         : Canon EF 85mm f/1.8 USM

Title: Re: print "LensID" error?
Post by: Phil Harvey on May 06, 2010, 06:40:21 AM
This is because the LensType number is not valid in one of your images so ExifTool uses the stored LensModel string instead.  The Canon LensModel strings are slightly different than the LensID strings that exiftool generates.

- Phil
Title: Re: print "LensID" error?
Post by: yiduo2008 on May 06, 2010, 11:48:47 PM
Quote from: Phil Harvey on May 06, 2010, 06:40:21 AM
This is because the LensType number is not valid in one of your images so ExifTool uses the stored LensModel string instead.  The Canon LensModel strings are slightly different than the LensID strings that exiftool generates.

- Phil


Thank you for your reply .

I have another problem with "Lens ID".

Why this photo "Lens ID" is "237" ?



exiftool.exe -make -LensID -Lens -LensInfo -LensModel 12063330.jpg
Make                            : Canon
Lens ID                         : 237
Lens                            : EF24-105mm f/4L IS USM
Lens Info                       : 24-105mm f/?

Title: Re: print "LensID" error?
Post by: Phil Harvey on May 07, 2010, 06:57:00 AM
This is the LensID written by Adobe products in the XMP.  ExifTool only converts LensID values from the maker notes.

Use -a -G1 to see where the information is coming from.

- Phil