Image-ExifTool - Extracting Canon LensType

Posted on Mon Jun 30 07:37:06 2008 by slowboat
Extracting Canon LensType
I am having trouble trying to figure out how to select a specific Canon:LensType tag. If I use the "-a" option along with "-Canon:LensType" there a three tags returned with the lens type information. The data in the Tag IDs 0x0016 & 0x0112 is what I am after and not the data in Tag ID 0x0095. However, if I omit the "-a" switch only Tag ID 0x0095 is extracted. Tag IDs 0x0016 & 0x0112 contain integer values and use a lookup to obtain the string value but Tag ID 0x0095 is a string value that is not as complete or formatted well. How can a specfically extract the value for Canon:LensType Tag ID 0x0016 or 0x0112?
Direct Responses: 8201 | Write a response