ExifTool Forum

General => Metadata => Topic started by: surfer on March 26, 2011, 09:05:24 PM

Title: Lens ID for Sigma
Post by: surfer on March 26, 2011, 09:05:24 PM
Hi,

When I run exiftool I get this:

Lens ID: Unknown (E3 54 50 50 24 24 35 02) Sigma Macro 50mm F2.8 EX DG ?

The Sigma Macro 50mm F2.8 EX DG is the correct lens. How can I get without the "unknown" part?

Thanks!
Title: Re: Lens ID for Sigma
Post by: surfer on March 27, 2011, 07:22:50 AM
I looked in the source lib and the hex for my lens seems to be: 32 54 50 50 24 24 35 02.
My lens gives E3 54 50 50 24 24 35 02. Almost identical!

Is this a different lens or is it common for Sigma to do different ID's for the same lens? Is it possible to add this lens id to exiftool?

Thanks!
Title: Re: Lens ID for Sigma
Post by: surfer on March 27, 2011, 07:43:53 AM
I also noticed that for my Nikkor 18-200 it also gives the later model "[II]" which I do not have. My lens gives "8B 40 2D 80 2C 3C FD 0E".
I can see here http://www.rottmerhusen.com/objektives/lensid/thirdparty.html that this hex is used for both lenses. Is there any way to differentiate these or is it possible to get all possible values? I am building a web app and if there is a conflict it would be nice to let the user manually select the correct lens.

Thanks!
Title: Re: Lens ID for Sigma
Post by: Phil Harvey on March 27, 2011, 07:58:47 AM
There is no way to differentiate these lenses from the metadata and returning "AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED or AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED II" seemed a bit redundant, so I put the "II" in square brackets to indicate that this qualifier is uncertain.

- Phil
Title: Re: Lens ID for Sigma
Post by: surfer on March 27, 2011, 08:05:40 AM
I do agree that it might be a bit redundant in this case. However are these cases common?

Any feedback on the Sigma case? Possible to add this Lens ID?

Thanks!
Title: Re: Lens ID for Sigma
Post by: Phil Harvey on March 27, 2011, 08:26:12 AM
Yes, sorry. I'll add your Sigma ID.  I have already prepared the 8.53 release, so this will appear in version 8.54.

Usually Nikon lenses get a different ID when the version changes, so the cases with the Nikon lens are not common.

- Phil
Title: Re: Lens ID for Sigma
Post by: surfer on March 27, 2011, 08:32:26 AM
Great!

Thanks for this great library and keep up the good work!

On another note, I first installed exiftool via macports but the latest portfile was 8.15. Would be great if someone maintains that file with the latest versions.