ExifTool Forum

General => Metadata => Topic started by: Phil Harvey on January 08, 2012, 08:37:16 PM

Title: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 08, 2012, 08:37:16 PM
I thought it would be good to have a thread for collecting information about new lenses.

Please reply to this post with the following information if ExifTool doesn't properly identify your lens:

1) The LensType and/or LensID values extracted by ExifTool.

2) The camera make (Canon (https://exiftool.org/TagNames/Canon.html#LensType), Nikon (https://exiftool.org/TagNames/Nikon.html#LensID), Sony (https://exiftool.org/TagNames/Sony.html#LensType), Olympus (https://exiftool.org/TagNames/Olympus.html#LensType), Pentax (https://exiftool.org/TagNames/Pentax.html#LensType), etc).

3) The exact lens model name as given by the lens Manufacturer.

I don't have the resources to obtain image samples for all available lenses, so the ExifTool lens identification is only possible with the help of users like you.  And since I make this information public, many other applications base their lens identification on ExifTool's documented lens ID's, so not only ExifTool users will benefit from the discoveries made here.

Thanks to everyone who has helped so far (and there are many)!

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Alan Clifford on January 09, 2012, 08:58:21 AM
Hi Phil, not a new lens but I think there is a small error.

Exiftool reports "AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED [II]" but I think the "II" refers to the second version of this lens that has a zoom lock.

The manual for my lens names it "AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6 IF-ED" (the same as on the box) whilst the manual for the new lens has "AF-S DX NIKKOR 18-200mm f/3.5-5.6G ED VR II"

More info from exiftool from my lens:

Code: [Select]
Lens Type                       : G VR
Lens                            : 18-200mm f/3.5-5.6
Lens F Stops                    : 5.33
Lens Data Version               : 0204
Lens ID Number                  : 139
Lens F Stops                    : 5.33
Lens ID                         : AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED [II]
Lens                            : 18-200mm f/3.5-5.6 G VR

Alan
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 09, 2012, 09:48:14 AM
Hi Alan,

Thanks, but unfortunately both versions of this lens have the same ID.  In my notation, this is indicated by putting the "II" in square brackets, but I admit that this isn't obvious.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: rsjaffe on January 10, 2012, 09:10:06 PM
Tamron AF 180mm f/3.5 SP Di LD [IF] macro (Sony): 28
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 11, 2012, 07:41:10 AM
Thanks!
Title: Re: Post your LensType / LensID discoveries here
Post by: kennedmh on January 11, 2012, 05:42:23 PM
Sigma 85mm F1.4 EX DG HSM (Sony): 128

and

Sigma 24-70mm F2.8 IF EX DG HSM (Sony):128
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 11, 2012, 06:29:02 PM
Wow, this is great!  I should have thought of starting this thread earlier. :)

- Phil

Edit: I see the activity is due to a post in the Dyxum forum (http://www.dyxum.com/dforum/exiftool-wants-your-lens-ids_topic83606.html).  Thanks rsjaffe for doing this.
Title: Re: Post your LensType / LensID discoveries here
Post by: gregglee on January 20, 2012, 07:03:34 PM
These are the ones I reported in a separate thread.  Sigma is a bit inconsistent on names for example whether they include all their designators in the name.  "IF" comes and goes for example.  This is my best shot.       

25811
Sony
Sigma 180 F3.5 EX DG APO macro

25661
Sony
Sigma 17-35 F2.8-4 EX Aspherical


Title: Re: Post your LensType / LensID discoveries here
Post by: gregglee on January 20, 2012, 07:15:04 PM
In addition I was checking lens - TC combinations.  I need to double check an apparent code duplication, but in the mean time I noticed that the Minolta 0x0105    Teleconverter tags omit the original "APO" versions, while the Sony tags includes them.   

This may or may not be the reason that exiftool reports the 0x60 = Minolta AF 2x APO and 0xa0 = Minolta AF 1.4x APO as unknown.  (It does correctly name the 0x90 = Minolta AF 1.4x APO II, which is the only other one I own.)

Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 20, 2012, 09:15:41 PM
Excellent, thanks.  I'll fix the Teleconverter tags to use the same lookup.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: gregglee on January 22, 2012, 01:26:04 PM
lens id     Camera        lens name 


25791   Sony and Minolta  Minolta 20mm F2.8 new

Note: the current 25791 says "Minolta/Sony AF 20mm F2.8 or Tokina Lens." This could be read to include all three versions:  Minolta-new (mine, model 2641), Minolta-original (model 2579) and Sony model (SAL20F28).  Since the Minota original model number is 2579, Minolta once used model numbers to start lens ids, and Minolta-Sony often retains the same lens id when updated versions are cosmetic only, this seems likely to be correct. 

But these is a separate exiftool listing for "26411 = Minolta/Sony AF 20mm F2.8 New".  Based on my Minolta New version this is not correct.  Also there are no lenses designated Sony+New, only Minolta+New.
======================================
25   Sony and Minolta     Sigma 30mm F1.4 EX DC
Note: current listing:  25.4 = Sigma 30mm F1.4 DG EX is incorrect.  There is no DG version of this lens.  Probably just a typo.
=====================================
25611  Sony and Minolta   Sigma 70-300 F4-5.6 APO DG macro
Note successor to lens 25611.2 already listed
=====================================
25631  Sony and Minolta   Sigma AF 170-500mm F5-6.3 APO DG   
Note successor to lens 25631.2 already listed
=====================================
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 22, 2012, 01:47:35 PM
Thanks for your comments.

Quote
But these is a separate exiftool listing for "26411 = Minolta/Sony AF 20mm F2.8 New".  Based on my Minolta New version this is not correct.

It sounds like you are telling me that your Minolta AF 20mm F2.8 New gives LensType number 25791?  If so, I suppose that it may be possible that Minolta changed the model number partway through the production.

Quote
Also there are no lenses designated Sony+New, only Minolta+New.

Right.  But how to indicate this in a convenient way?

Quote
Note: current listing:  25.4 = Sigma 30mm F1.4 DG EX is incorrect.  There is no DG version of this lens.  Probably just a typo.

I'll check my reference on this tomorrow.

Quote
25611  Sony and Minolta   Sigma 70-300 F4-5.6 APO DG macro
Note successor to lens 25611.2 already listed
=====================================
25631  Sony and Minolta   Sigma AF 170-500mm F5-6.3 APO DG   
Note successor to lens 25631.2 already listed

Are you saying that 25611.4 and 25631.2 are the same lens?  Could well be.  Sigma has often changed the LensType number for the same model.  Otherwise, I don't understand what you are trying to tell me.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Zwielicht on January 22, 2012, 02:07:30 PM
On a Canon 450D:
LensID: 137
LensType: "Canon EF 85mm f/1.2L or Sigma or Tamron Lens"
Name: Sigma 8-16mm F4.5-5.6 DC HSM
Title: Re: Post your LensType / LensID discoveries here
Post by: gregglee on January 22, 2012, 02:24:07 PM
It sounds like you are telling me that your Minolta AF 20mm F2.8 New gives LensType number 25791?
yes mine is definitely New version with id 25791

Quote
If so, I suppose that it may be possible that Minolta changed the model number partway through the production.
Or, just speculating, that the 26411 listing could be incorrect.     

Quote
Right.  But how to indicate this in a convenient way?
I mentioned this only to indicate that there was an additional inconsistency with the listing.   But an alternative would be "26411 = Minolta New/Sony AF 20mm F2.8.   
Title: Re: Post your LensType / LensID discoveries here
Post by: gregglee on January 22, 2012, 03:08:17 PM
Are you saying that 25611.4 and 25631.2 are the same lens?  Could well be.  Sigma has often changed the LensType number for the same model.  Otherwise, I don't understand what you are trying to tell me.
- Phil
I was trying to say that I have a successor version to the Sigma 70-300 to the one listed in exiftool under the same 25611 id as this lens, and a successor version of the Sigma AF 170-500mm to the one listed in exiftool under the same 25631 id for that lens.  So I was just confirming that Sigma continued to use the same ids on my non-listed versions as for the listed earlier versions.

I realize you can't list every similar version with the same id.  I count 5 versions of the Sigma 70-300 f4-5.6 macro prior to new OS version.       

I didn't even notice the separate issue that you noted:
   
25631.2   = Sigma AF 170-500mm F5-6.3 APO Aspherical and
25611.4   = Sigma AF 170-500mm F5-6.3 APO Aspherical are identical descriptions.

I can't help there, except to note again that my version of the 170-500,  the Sigma AF 170-500mm F5-6.3 APO DG, read as 25631.
   
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 22, 2012, 03:19:06 PM
On a Canon 450D:
LensID: 137
LensType: "Canon EF 85mm f/1.2L or Sigma or Tamron Lens"
Name: Sigma 8-16mm F4.5-5.6 DC HSM

Great, thanks!  I'll add this.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: gregglee on January 22, 2012, 03:29:44 PM
Minolta lens and teleconverter combinations

On Sony and Minolta cameras

To limit width in the following table,
600 means Minolta 600mm f4 HS APO G                           
400 means Minolta 400mm f4.5 HS APO G                           
200 means Minolta 200mm f2.8 HS APO G                           
1.4X means Minolta 1.4X APO Teleconverter
1.4X II means Minolta 1.4X APO Teleconverter II
2X means Minolta 2X APO Teleconverter
TC means teleconverter.
                  
                 lens id    TC id
lens       TC     0xb027    0x0105
600       none    26091       0 
600       1.4x    25901      160
600      1.4xII   26091      144
600        2x     26011       96

400       none      15        0 
400       1.4x      15       160
400      1.4xII     15       144               
400        2x       15        96

200       none    26121       0
200       1.4x    25901      160
200      1.4xII   26121      144
200        2x     26011       96

Note this agrees with the TC id tags listed in exiftool for these TC's.

Lens tags seem strange at first, but here is what appears to be going on:

lens id 25901 = Minolta 1.4X APO Teleconverter with 200 and 600 (and perhaps with other compatible lens in the original numbering series)   id of lens not shown.         

lens id 26011 =  Minolta 2X APO Teleconverter with 200 and 600 (and perhaps with other compatible lens in the original numbering series)     id of lens not shown.   

lens id is correct with 400 lens for all three tc's (and perhaps with any lens in new number series starting over at 1 circa 1993)

lens id is correct for all three lenses with 1.4xII  (and perhaps with 2xII)   

Probably not useful to speculate on the (8 contact) Minolta D and Sony TC's. 

Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 22, 2012, 03:39:17 PM
I was trying to say that I have a successor version to the Sigma 70-300 to the one listed in exiftool under the same 25611 id as this lens, and a successor version of the Sigma AF 170-500mm to the one listed in exiftool under the same 25631 id for that lens.  So I was just confirming that Sigma continued to use the same ids on my non-listed versions as for the listed earlier versions.

Thanks.  I think I understand now.  You meant that the "Sigma 70-300mm F4-5.6 DL Macro" listed as 25611.1, has the same LensType number as your newer "Sigma 70-300 F4-5.6 APO DG Macro" (ie. DL vs. DG), and that the "Sigma AF 170-500mm F5-6.3 APO Aspherical" has the same LensType as your "Sigma AF 170-500mm F5-6.3 APO DG" (ie. Aspherical vs. DG).  Unfortunate.

Re your TC table.  Very interesting.  I'll have to think about how it is best to handle the 25901 and 26011 entries.

- Phil

Edit: I have a question about the TC.  For LensType 25901 or 26011, what are the values of FocalLength, MaxAperture and MaxApertureValue for one of the images?
Title: Re: Post your LensType / LensID discoveries here
Post by: milchtaich on January 23, 2012, 12:01:14 PM
Same LensType number, 25611, also reported by my Sigma AF 400mm F5.6 APO Macro lens.
Another entry I can add to the list is 25521 for the Tokina AT-X 17 AF 17mm F3.5.
Both numbers are for the Sony A100 camera.

Igal
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 23, 2012, 12:09:52 PM
Thanks Igal!  I'll add these too!

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: gregglee on January 23, 2012, 12:47:36 PM
Edit: I have a question about the TC.  For LensType 25901 or 26011, what are the values of Focal Length, MaxAperture and MaxApertureValue for one of the images?
For these TCs,  Focal length and MaxApertureValue (both in ExifIFD) are the correct  combined value.  That is for the 1.4x, focal length and max aperture are 1.414 times the lens alone values, and  for the 2x, focal length and max aperture are 2 times the lens alone values. 

I don't see a field named MaxAperture
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 23, 2012, 01:04:39 PM
For these TCs,  Focal length and MaxApertureValue (both in ExifIFD) are the correct  combined value.  That is for the 1.4x, focal length and max aperture are 1.414 times the lens alone values.

Great, thanks.  I'll add the logic to be able to identify lens/TC combinations for LensType 25901 and 26011.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 23, 2012, 01:56:19 PM
Note: current listing:  25.4 = Sigma 30mm F1.4 DG EX is incorrect.  There is no DG version of this lens.  Probably just a typo.

I'll check my reference on this tomorrow.

You were right.  I will change this to "Sigma 30mm F1.4 EX DC".

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: joukom on February 09, 2012, 08:48:18 AM
Here are the information from my two unrecognized/incorrectly recognized Tamron lenses, reported by Canon EOS 60D and exiftool 8.77:

1) Tamron SP 17-50mm f/2.8 XR Di II VC (B005)
Lens Info                       : 17-50mm f/?
Lens Model                      : 17-50mm
Lens                            : 17.0 - 50.0 mm
Lens ID                         : Sigma 17-50mm f/2.8 OS HSM
Lens Type                       : Canon EF 85mm f/1.2L or Sigma or Tamron Lens

2) Tamron SP 60mm f/2 Macro Di II (G005)
Lens Info                       : 60mm f/?
Lens Model                      : 60mm
Lens                            : 60.0 mm
Lens ID                         : Unknown (137) 60mm
Lens Type                       : Canon EF 85mm f/1.2L or Sigma or Tamron Lens


- J
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 09, 2012, 08:52:27 AM
Excellent, thanks!  These will be added in version 8.78.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: tempel on February 26, 2012, 10:14:47 AM
I just have a few lens for testing here...

All on a Pentax K-5

1.
Sigma 50-500 4.5-6.3 APO DG OS, ID 8 17 (exiftool 8.80 knows this one already)

2.
Sigma 150-500 5-6.3 APO DG OS, ID 8 15

3.
Sigma 120-400 4.5-5.6 APO DG OS, ID 8 13

The naming of these lenses is from what's printed on the Sigma boxes, BTW.
The "HSM" is also on my Sigma boxes, but only as a separate label, not part of the name label for the lens. The "HSM" is part of the name on the lens itself, though, like this:
  Sigma DG
  120-400mm 1:4.5-5.6 APO HSM

I just found that there's already a record of one of the above lenses:
'8 255.2'   = Sigma APO 150-500mm F5-6.3 DG OS HSM
It's certainly this one, I believe: http://www.sigmaphoto.com/shop/150-500mm-f5-63-apo-dg-os-hsm-sigma
Now, why would we find two separate IDs for this lens?
Mine were all from Europe (UK and Germany), and all recently purchased (just this week, I'll return two of them soon).

Now, if only there was a way to patch Apple's own detection to get these Lens know, because its tools (e.g. Preview) fail to recognize any of them...
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 26, 2012, 03:03:23 PM
Excellent!  Thanks.  I'll add these.

I have a theory about the different Sigma lens ID's for the same lens:  They started appearing about the same time that cameras introduced adjustable fine-tune focus correction based on lens recognition.  Before that, Sigma used many duplicate LensID's, and I'm guessing that they realized this would be a problem because the camera would likely apply the same focus adjustment to all lenses with the same ID.  So they began changing them to make them more unique.

- Phil

P.S.  Which of the 3 lenses are you keeping?  I have seriously considered these myself because I need a longer telephoto for my K-5.  The thing that I really don't like though is that Sigma doesn't offer these in a non-OS version, so you are paying for something you don't need with all of these.
Title: Re: Post your LensType / LensID discoveries here
Post by: tempel on February 27, 2012, 11:24:42 AM
Phil,
funny you ask about the lenses as I have just written a quick comparison about these 3. Unfortunately, it is in German.

And you're a Pentax user, too, which is a nice surprise.

Here's some info you might like: Being primarily a software developer, I wrote an app the other day that will check on OSX if Apple already knows the lens type. This is important so that Aperture, iPhoto and Preview even show any lens data from the img's Exif data.
If OSX has not identified the lens model, my app uses your tool to add it so that Aperture and Co then show the lens model. I plan to release that soon to the public.

Also, I found that when you use the Ey-Fi card software to geotag your imgs, it erases (overwrites?) most of the Pentax specific data, including the lens type. Reported that to them, we'll see if they'll figure it out.

On the Sigmas...

I've verified that the 150-500 does get you more detail of an object, so if you want a max tele reach, do not take the 120-400.
The 120-400 is significantly shorter and a bit lighter, though, and has a more common filter thread diameter, making it overall less cumbersome.
The Bigma (50-500) seems to be slightly less sharp around the corners than the 150-500 and then 120-400.
Overall, they all perform very similarly in quality, though, and certainly better than my cheap old Pentax M 200mm f/4.
The other slight disadvantage of the Bigma is that its lens hood has to be so wide (to accomodate 50mm at 36x24) that it can hardly be called a hood. The ones on the 3x zooms, OTOH, are long and narrow, to keep out the sun pretty well, I'd think.

On the OS...

Never having had a OS/IS lens before, I was pleasantly surprised of its usefulness. When you're holding your Pentax with a 500mm tele in your hand, the OS allows you to keep the target steadily on the screen. Imagine that target has some out of focus elements in the frame as well. If you get a lot of shaking, you'll be have more difficulty hitting the center spot for focussing - with OS this is pretty easy. In fact, even just looking at something with OS thru the viewfinder works well. So, why you might think you won't need the OS since the camera has its own, it can be of some advantages nontheless.

I will probably keep the 150-500 since I wanted the max magnification, and I plan to use it more in situations where I have the time to change lenses should I want to go into the 50-150mm area instead of going with the more universal 50-500. I choose the 150-500 over the 50-500 for the more efficient lens hood and the miminally better sharpness in corners. And it's a little less expensive as well.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 27, 2012, 05:15:04 PM
Thanks for the report... I was leaning toward the 150-500 myself, so I'll probably go with that one when I take the plunge.  I hadn't thought about using the OS through the viewfinder.  Interesting.

Right now, I'm stuck using a Pentax DA 55-300, which isn't enough for me.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: gregglee on February 28, 2012, 03:37:48 PM
1) 128

2) Sony (reported on A77)

3) Sigma 18-250mm F3.5-6.3 DC OS HSM

This lens is not new so I was surprised that it is not listed in Sony lens tags already.
This will the 13th lens with tag 128, all Sigma and Tamron.   
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 28, 2012, 10:51:09 PM
Great, thanks.

I don't expect the 3rd party lens list to be complete, so I am not surprised to have an old lens missing like this.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: gregglee on March 16, 2012, 03:59:32 PM
Checked on Sony A900 and A700

Tamron 18-270mm f3.5-6.3 Di II PZD

0xb027 lens type 57
0xb02a lensspec 01 18 270 3.5 6.3 00

0xb027 lens type printconversion "Sony DT 50mm F1.8 SAM (SAL50F18) or Tamron Lens"
0xb02a lensspec printconversion  "DT 18-270mm F3.5-6.3"

Composite lensid  "Sony DT 50mm F1.8 SAM (SAL50F18) or Tamron Lens"

Note that unlike some Sigma "DC" lenses, this lens does report 01 for the first byte of lensspec indicating an ASPC only lens.   Thus the "DT" in lensspec print conversion rather than Tamron equivalent "Di II"
 
This lens does cause the A900 to automatically switch to aspc-size mode.  Just as with Sony DT lenses, the camera reports camera model id 262 / DSLR-A900 (APS-C mode). 

Added:

Also note that at max zoom out the lens reports 280 for the focal length rather than 270. 
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on March 16, 2012, 04:22:13 PM
Tamron 18-270mm f3.5-6.3 Di II PZD

0xb027 lens type 57

Excellent, thanks!  I'll add this.

Quote
Also note that at max zoom out the lens reports 280 for the focal length rather than 270.

...that may throw a wrench into the Composite LensID determination. :(

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: gregglee on March 17, 2012, 09:49:46 AM
Also note that at max zoom out the lens reports 280 for the focal length rather than 270.
...that may throw a wrench into the Composite LensID determination. :(

- Phil
At least at the moment the other two lenstype 57 lenses are primes with max apertures faster than the aperture range of the 18-270, which leaves only one  zoom to select from. 
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on March 17, 2012, 11:04:19 AM
At least at the moment the other two lenstype 57 lenses are primes with max apertures faster than the aperture range of the 18-270, which leaves only one  zoom to select from.

Unfortunately, that's not how it will work.  If ExifTool sees a FocalLength of 280mm, it will discard the 18-270 as a possible match, and with no other good prospects it will assume that this is an unknown lens.  (Unless the user has added it to the UserDefined Lenses, which overrides the focal length/aperture logic.)

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: gregglee on March 17, 2012, 03:51:16 PM
One way or another 8.84 figures it out.   I don't have any  UserDefined Lenses.


numbers
---- ExifTool ----
ExifTool Version Number         : 8.84
---- EXIF ----
Camera Model Name               : DSLR-A700
Exposure Time                   : 0.004
F Number                        : 6.3
Max Aperture Value              : 6.29846381255363
Focal Length                    : 280
---- MakerNotes ----
Sony Model ID                   : 258
Lens Type                       : 57
Lens Spec                       : 01 18 270 3.5 6.3 00
---- Composite ----
Aperture                        : 6.3
Lens ID                         : 57
Shutter Speed                   : 0.004
Focal Length                    : 420

printconversion
---- EXIF ----
Camera Model Name               : DSLR-A700
Exposure Time                   : 1/250
F Number                        : 6.3
Max Aperture Value              : 6.3
Focal Length                    : 280.0 mm
---- MakerNotes ----
Sony Model ID                   : DSLR-A700
Lens Type                       : Sony DT 50mm F1.8 SAM (SAL50F18) or Tamron Lens
Lens Spec                       : DT 18-270mm F3.5-6.3
---- Composite ----
Aperture                        : 6.3
Lens ID                         : Tamron 18-270mm F3.5-6.3 Di II PZD
Shutter Speed                   : 1/250
Focal Length                    : 280.0 mm (35 mm equivalent: 420.0 mm)

Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on March 17, 2012, 07:48:18 PM
Ah, you're right.  This is due to the new LensSpec logic I added recently for Sony lenses.  The LensSpec is correct, so the FocalLength logic is bypassed in this case.  Cool.  Smart program. :)

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: dyvroeth on April 07, 2012, 01:05:06 PM
For Canon EF70-200mm f/2.8L IS II USM with a 1.4x Mk II extender, LensType reports Unknown (252) but LensModel spots it and reports 70-200mm f/2.8L IS II USM +1.4x
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on April 07, 2012, 10:04:15 PM
Excellent, thanks!  This fills in 2 more missing Canon LensType values since it makes sense that 253 is the same lens with the 2x extender.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: juhala on April 18, 2012, 02:03:43 PM
The following are tested with Canon 40D and ExifTool 8.88.

"Sigma 150mm F2.8 EX DG OS HSM APO Macro" (from Sigma US website)
LensID: 183
This is identified wrongly as "Canon EF 100-400mm f/4.5-5.6L IS". With 1.4x TC (Canon Mk II) LensID remains the same, but focal length and aperture are updated correctly.

"EMF adapter for Canon EOS digital cameras" (from user manual)
LensID: 27
This is a programmable (i.e. focal length and maximum aperture settable) focus confirm chip for adapting manual focus lenses to Canon cameras. Is identified as "Canon EF 35-80mm f/4-5.6", which it is probably meant to claim to be. But unlike the real thing, this chip reports LongFocal as 65535 and LensModel as "1-65535mm". Manufacturer is emfphoto.com.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on April 18, 2012, 02:29:43 PM
Thanks!

I'll add the Sigma, but recognizing the EMF adapter is problematic because the focal length doesn't appear in the adapter name, and this is how ExifTool chooses amongst the possibilities.  I have seen an image taken with a Nikon lens that gave a LensType of 27 too, which was obviously done using some sort of adapter.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: mikepollock on May 31, 2012, 09:13:20 AM
Hi,

Just received a shiny new Nikon lens, which doesn't seem to be in the list yet; here's the Lens-related output from yesterday's test pics:

Lens Type                       : G
Lens                            : 28mm f/1.8
Lens Data Version               : 0204
Lens ID Number                  : 181
Lens F Stops                    : 6.33
Lens ID                         : Unknown (B5 4C 3C 3C 14 14 B7 06)
Lens                            : 28mm f/1.8 G

The official name is something like:
Nikon AF-S Nikkor 28mm f/1.8G

Thanks a lot,
Mike.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on May 31, 2012, 09:20:29 AM
Hi Mike,

Great, thanks!!

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: boels069 on June 30, 2012, 05:01:29 AM
Canon EF 40 f/2.8 STM Pancake
LensType: unknown (4144)
LensModel EF40mm f/2.8 STM

Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on June 30, 2012, 06:13:16 AM
Canon EF 40 f/2.8 STM Pancake
LensType: unknown (4144)
LensModel EF40mm f/2.8 STM

Thanks.  Do you have a sample image for this one?  The number is incongruous with the normal Canon numbering scheme, and may indicate corrupted metadata.  If you have a sample, please email it to me (philharvey66 at gmail.com).  Thanks.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: boels069 on June 30, 2012, 10:44:39 AM
Done!
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on July 01, 2012, 02:53:29 PM
Thanks!  The JPEG is indeed not corrupt, and the LensType is correct.

This lens will appear in ExifTool 8.97.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: boels069 on July 05, 2012, 12:18:02 PM
You're welcome!

Thank you for all the hard work on ExifTool, can't live without it  ;)
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on July 07, 2012, 08:25:22 AM
I dont own the lens, but it seems that the sigma 70-200mm f2.8 APO EX DG OS HSM gives a LensID of " 8 23".

Sample see here: https://secure.flickr.com/photos/psajfotos/7481552482/in/set-72157630375534578/

Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on July 07, 2012, 12:14:52 PM
Excellent, thanks!  This will appear in ExifTool 8.98.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on July 12, 2012, 02:33:02 PM
Sigma 18-250mm F3,5-6,3 DC OS HSM on Pentax seems to be "Unknown ( 8 8 )"...
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on July 18, 2012, 04:40:23 PM
SIGMA AF 10-20mm 3.5 EX DC HSM  for Pentax     -   Lens ID : Unknown (8 11)
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on July 24, 2012, 07:07:39 AM
Thanks!! These will appear in ExifTool 8.98

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: mikepollock on August 03, 2012, 04:19:29 PM
Hi,

Another new Nikon lens to add to the list; here's the Lens-related output from the first sample pics:

Code: [Select]
Lens Type                       : G VR
Lens                            : 24-85mm f/3.5-4.5
Lens Data Version               : 0204
Lens ID Number                  : 180
Lens F Stops                    : 5.33
Lens ID                         : Unknown (B4 40 37 62 2C 34 B6 0E)
Lens                            : 24-85mm f/3.5-4.5 G VR

I think the full name is something like:

Nikon AF-S VR Zoom-Nikkor 24-85mm f/3.5-4.5G IF-ED

Thanks a lot,
Mike.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on August 03, 2012, 06:20:02 PM
Hi Mike,

Great, thanks!  This will appear in ExifTool 9.00.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: juju22 on November 12, 2012, 12:28:32 AM
Mine

Code: [Select]
$ exiftool ~/Images/20121015/20121015_210149--DSC_0111.JPG |grep -i lens
Lens Type                       : G VR
Lens                            : 18-200mm f/3.5-5.6
Lens Data Version               : 0204
Lens ID Number                  : 139
Lens F Stops                    : 5.33
Lens ID                         : AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED [II]
Lens                            : 18-200mm f/3.5-5.6 G VR
$ exiftool ~/Images/20121111/20121111_142030--DSC_0950.JPG |grep -i lens
Lens Type                       : G
Lens                            : 50mm f/1.4
Lens Data Version               : 0204
Lens ID Number                  : 160
Lens F Stops                    : 7.00
Lens ID                         : AF-S Nikkor 50mm f/1.4G
Lens                            : 50mm f/1.4 G
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on November 12, 2012, 07:16:10 AM
I don't understand.  ExifTool already identifies these lenses.  (AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED [II] and AF-S Nikkor 50mm f/1.4G.)

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: moman on December 27, 2012, 03:33:42 PM
Hello,

This lens was just launched this month.  Let me know if you need any additional info!

LensId: Unknown (8 210)
Lens Name: Smc PENTAX-DA 18-270mm F3.5-6.3 ED SDM
Camera make: Pentax

BTW, thanks a lot for the great software!  I use it here and it works like a charm for extracting lens and camera info.  Will be sending a donation your way soon!
http://www.pentaxforums.com/forums/samplesearch.php

Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on December 27, 2012, 04:04:39 PM
Thanks!  As it turns out someone just beat you for getting the credit for decoding this lens ID.  It will appear in ExifTool 9.10 when it is released.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: fernoh123 on December 30, 2012, 08:07:09 PM
new lens on Pentax K-30:

"Sigma 18-200 F3.5-6.3 II DC HSM"  reported as "8 27"

Cheers,
  Peter
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on December 30, 2012, 08:15:41 PM
Hi Peter,

Fantastic, thanks!  This will appear in ExifTool 9.11.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: moman on February 02, 2013, 04:38:47 PM
Unknown (0 13)

This is for the:
HD Pentax-D FA 645 90mm F2.8 ED AW SR Macro

Camera make:
Pentax
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 02, 2013, 07:00:48 PM
Thanks!  I've been looking for a 645 90mm sample for a while now...

Just one thing: I think your file was corrupted because the first number should be 13 (and the 2nd I'm guessing should maybe be 20).

Where did you find the sample?

- Phil

Edit: I haven't added this LensType because I think the value is incorrect.  Please check again with a sample straight out of the camera.

Edit: 2 months later and I have finally found a sample.  The LensType is "13 20" as I suspected.
Title: Re: Post your LensType / LensID discoveries here
Post by: JosR on March 09, 2013, 06:30:39 AM
Hi Phil,
some new Sony lens-ID's:
Code: [Select]
---- ExifTool ----
     - ExifTool Version Number         : 9.22

0x010f Make                            : SONY
0x0110 Camera Model Name               : SLT-A99V
0x0131 Software                        : SLT-A99V v1.00

0xa432 Lens Info                       : 50mm f/1.4
0xa434 Lens Model                      : 50mm F1.4 ZA SSM
0xb027 Lens Type                       : Unknown (70)
0xb02a Lens Spec                       : 50mm F1.4 ZA SSM

0xa432 Lens Info                       : 70-400mm f/4-5.6
0xa434 Lens Model                      : 70-400mm F4-5.6 G SSM II
0xb027 Lens Type                       : Unknown (69)
0xb02a Lens Spec                       : 70-400mm F4-5.6 G SSM
Regards,
Jos
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on March 09, 2013, 07:16:48 AM
Hi Jos

Great, thanks!  Here is what I added for these:

Code: [Select]
    69 => 'Sony 70-400mm F4-5.6 G SSM II (SAL70400G2)', #25
    70 => 'Sony Carl Zeiss Planar T* 50mm F1.4 ZA SSM (SALF0F14Z)', #25

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Norseman00 on March 25, 2013, 01:54:12 AM
Hey Phil,

Thanks for a great tool.

Here's one that shows up as unknown:

Camera: Pentax K5
Lens: Sigma 18-250mm F3.5-6.3 DC Macro HSM
Unknown Code (8 28)

Regards,
Glenn
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on March 25, 2013, 07:08:49 AM
Hi Glen,

Thanks!! This will appear in ExifTool 9.25

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: JosR on April 19, 2013, 01:31:07 PM
Hi Phil,
just an idea about the Sony E-lenses "LensType", before you release the next Exiftool version:
Maybe it is not a good idea to use the same name, as the values in this 0-31 range are already used by Minolta A-mount lenses.
So I would prefer to use an alternative name,
or maybe combine as int16u with the '128' value at the next offset, to give unique values in the 30.000 range ?
Regards,
Jos
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on April 19, 2013, 01:37:14 PM
Hi Jos,

I called it LensType so that it would funnel into the Composite LensID tag, which is the best tag across all make/models for determining the type of lens.

The overlap in values between these tags isn't a problem for ExifTool -- this happens with many other tags (as you well know).  When writing, as long as you write by lens name, then there isn't a problem.

The int16u idea is a possibility, but I'm a bit nervous about this since I don't know what the 128 is for.

- Phil

Edit:  What about arbitrarily adding 1000 to the values?  There shouldn't be any overlap with values of the other LensType tag if we do this.
Title: Re: Post your LensType / LensID discoveries here
Post by: JosR on April 19, 2013, 05:07:57 PM
Hi Phil,
Normally overlap is not a problem, but I have a batch file to add lens information conditionally depending on the LensType:
e.g. call exiftool.exe -Exif:LensModel="24-105mm F3.5-4.5" -if "$Sony:LensType# eq 24" *.*
And now there would be two times a LensType 24:
    24 => 'Minolta/Sony AF 24-105mm F3.5-4.5 (D) or Sigma or Tamron Lens',
    24 => 'Sony E 10-18mm F4 OSS',
If I would run this batch file on NEX images, incorrect lens information may be added...

Indeed, I don't know what the 128 means, so adding 1000 might be good solution for now.

and btw., LensSpec as input for the Composite LensID appears to provide the most accurate info for all the E lenses.

Jos
Title: Re: Post your LensType / LensID discoveries here
Post by: OliF on August 03, 2013, 01:24:49 AM
Hi Phil,

I have a missing Lens data for a Canon EOS 6D, could you please add it!? It should be possible to seperate it from the already existing Canon and Sigma lens by focal length and f stop.

Code: [Select]
183.2 = Sigma 105mm f/2.8 EX DG OS HSM Macro

Thanks a lot in advance!


Best regards,

Oliver
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on August 03, 2013, 07:12:53 AM
Hi Oliver,

Thanks!  This will appear in ExifTool 9.35

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Gray on September 24, 2013, 10:22:10 PM
Hi Phil

Another unknown Sigma lens: Sigma 17-70mm f/2.8-4 DC Macro HSM "C"
Released January 2013
[Note the Sony and Pentax versions of this lens do not have built-in OS unlike the Nikon, Canon and Sigma versions, which are Sigma 17-70mm f/2.8-4 DC Macro OS HSM "C"]

ExifTool Version Number : 9.37
Camera Model Name : PENTAX K-5
Lens Type : Unknown (8 30)
Lens Kind : 0x28
Lens ID : Unknown (8 30)
for the rest, see attached file.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on September 25, 2013, 07:10:21 AM
Great, thanks!  This will appear in Exiftool 9.38 as "Sigma 17-70mm F2.8-4 DC Macro HSM Contemporary".

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Alan Clifford on September 25, 2013, 08:57:22 AM
I've just bought a Fuji XF1.  I there anything I can do to help in any way?
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on September 25, 2013, 09:06:49 AM
Hi Alan,

I don't think the ExifTool extracts lens information for this model.  But please me know if you can discover the meaning of any "Unknown" tags when you run "exiftool -u" on your images.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Batty on October 11, 2013, 04:13:25 PM
Hello, I'm getting Unknown for the new "Sigma 18-35mm F1.8 DC" lens for Nikon:

ExifTool Version Number         : 9.38
Make                            : NIKON CORPORATION
Camera Model Name               : NIKON D7100
Maker Note Version              : 2.11
Lens Type                       : G
Lens                            : 18-35mm f/1.8
Lens Data Version               : 0204
Lens ID Number                  : 139
Lens ID                         : Unknown (8B 4C 2D 44 14 14 4B 06)
Lens                            : 18-35mm f/1.8 G



Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on October 11, 2013, 07:34:15 PM
Thanks Batty!

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Batty on November 06, 2013, 04:47:08 PM
Yay, thanks Phil, I can verify the Sigma 18-35mm F1.8 DC HSM Lens ID now reports properly in 9.39:

Camera Model Name               : NIKON D7100
Lens ID                         : Sigma 18-35mm F1.8 DC HSM
Title: Re: Post your LensType / LensID discoveries here
Post by: reisschuessel on December 22, 2013, 01:50:05 PM
Hi Phil,

i'd like to add one new and one "semi-unknown" Lens-ID's.
Both for Nikon F-Mount.
I used ExifTool 9.45 and attached the sample-files.

Sigma 35mm F1.4 DG HSM
Code: [Select]
Lens Type                       : G
Lens                            : 35mm f/1.4
Lens F Stops                    : 7.00
Lens Data Version               : 0204
Lens ID Number                  : 145
Lens F Stops                    : 7.00
Lens ID                         : Unknown (91 54 44 44 0C 0C 4B 06)
Lens                            : 35mm f/1.4 G

Sigma 15mm F2,8 EX DG Diagonal-Fisheye

Code: [Select]
Lens Type                       : D
Lens                            : 15mm f/2.8
Lens F Stops                    : 6.00
Lens Data Version               : 0204
Lens ID Number                  : 234
Lens F Stops                    : 6.00
Lens ID                         : Unknown (EA 48 27 27 24 24 1C 02) Sigma 15mm F2.8 EX Diagonal Fisheye ?


Thanks for your great work!
 :)

-Niels
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on December 22, 2013, 05:48:52 PM
Hi Niels,

Excellent, thanks!  These will appear in ExifTool 9.46.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Ralph on December 31, 2013, 08:08:54 AM
My Sigma lens "Sigma AF 10-20mm F4-5.6 EX DC" seem to generate different TAGs when attached to the old Konica Minolta 7D and to the new Sony A77. For the "lens TAGs" only the Lens ID on the Sony A77 is correct. Please see below exiftool output for details. I am unsure if the A77 writes wrong tags.

C:\Users\Ralph\Documents\temp\exiftool>exiftool.exe -*model* -*lens* PICT2263.MRW DSC01525.JPG
======== PICT2263.MRW
Camera Model Name               : DYNAX 7D
Lens Type                       : Minolta AF 28-80mm F3.5-5.6 (D) or Sigma Lens
Lens ID                         : Sigma AF 10-20mm F4-5.6 EX DC or Sigma AF 12-24mm F4.5-5.6 EX DG
======== DSC01525.JPG
Camera Model Name               : SLT-A77V
Sony Model ID                   : SLT-A77 / SLT-A77V
Model Release Year              : 2011
Lens Model                      : 28-80mm F3.5-5.6
Lens Type                       : Minolta AF 28-80mm F3.5-5.6 (D) or Sigma Lens
Lens Spec                       : Unknown (00 0 0 0 0 00)
Lens Mount                      : A-Mount
Lens Format                     : Full-frame
Lens Info                       : 28-80mm f/3.5-5.6
Lens Model                      : 28-80mm F3.5-5.6
Lens ID                         : Sigma AF 10-20mm F4-5.6 EX DC
    2 image files read
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on December 31, 2013, 10:16:14 AM
Hi Ralph,

It looks like ExifTool is handling this lens as best it can.  There probably just isn't enough information written by the 7D to allow exiftool to distinguish between the possible lenses.  Unfortunately, Sigma uses the same LensType number for many of its lenses.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: afx on January 08, 2014, 01:32:55 PM
Sigma 28-70mm 1:2.8 EX DG D

Code: [Select]
$ exiftool afx-2013-12-20-001.nef |egrep -i "lens|make|model"
Make                            : NIKON CORPORATION
Camera Model Name               : NIKON D700
Maker Note Version              : 2.10
Lens Type                       : G
Lens                            : 28-70mm f/2.8
Modeling Flash                  : Off
Lens Data Version               : 0203
Lens ID Number                  : 121
Lens F Stops                    : 6.00
Lens ID                         : Unknown (79 48 3C 5C 24 24 1C 06) Sigma 28-70mm F2.8 EX DG ?
Lens                            : 28-70mm f/2.8 G

cheers
afx
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 08, 2014, 01:40:02 PM
Great, thanks.

This lens different from the existing "Sigma 28-70mm F2.8 EX DG" recognized by ExifTool, or is it the same lens just with a new ID (which would be typical)?

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: afx on January 08, 2014, 01:42:39 PM
This lens different from the existing "Sigma 28-70mm F2.8 EX DG" recognized by ExifTool, or is it the same lens just with a new ID (which would be typical)?
No clue actually, I only have this old clunker...
No idea if there where several variants of the EX DG made.

sorry
afx
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 08, 2014, 01:48:44 PM
OK, thanks.  I'll add it as "Sigma 28-70mm F2.8 EX DG D" unless I hear otherwise.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: afx on January 08, 2014, 01:56:31 PM
OK, thanks.  I'll add it as "Sigma 28-70mm F2.8 EX DG D" unless I hear otherwise.
B&H lists the lens in the name without the D but the image has the D.
http://www.bhphotovideo.com/c/product/352405-REG/Sigma_549306_28_70mm_f_2_8_EX_DG.html

I wish there where a lens site for Sigmas like the one for Nikons...
The only thing I found is this:
http://www.sigmauser.co.uk/index.php?option=com_content&view=article&id=51&Itemid=67

No mention of a D variant.

cheers
afx
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 08, 2014, 02:05:35 PM
Thanks.  I've sent an email to my Nikon lens expert to ask about this.

- Phil
Title: Canon EF 200-400mm f/4L IS USM Extender 1.4X --> Unknown (499)
Post by: Beholder3 on January 21, 2014, 02:35:54 PM
I just saw a RAW shot with the ultra cheap EF 200-400mm f/4L IS USM Extender 1.4X lens : http://daten-transport.de/download.php?id=UtDH4GZVLN2x&dateinummer=265141

This shows up as lens type "Unknown (499)", while the lens model is correct. Same as with the new Tamron (I did a separate thread for that)
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 21, 2014, 06:00:20 PM
Excellent, thanks!  I've added this to the list.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: ulf15 on February 03, 2014, 08:20:16 AM
Hello, exiftool version 9.49 does not recognize my 'Sigma 18-200mm F3.5-6.3 DC'

Camera:                         : Nikon D3100
Lens Type                       : G
Lens                               : 18-200mm f/3.5-6.3
Lens Data Version            : 0204
Lens ID Number               : 255
Lens F Stops                    : 5.33
Lens ID                           : Unknown (FF 40 2D 80 2C 40 4B 06)
Lens                                : 18-200mm f/3.5-6.3 G
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 03, 2014, 08:22:19 AM
Thanks!  Which exact version of the lens is this?  There is also a "Sigma 18-200mm F3.5-6.3 DC OS HSM" version, and a new "Sigma 18-200mm F3.5-6.3 DC Macro OS HSM Contemporary" that was just announced last month.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: ulf15 on February 03, 2014, 08:30:58 AM
According to the manual it is just a plain 'Sigma 18-200mm F3.5-6.3 DC'. So neither 'macro' nor 'HSM' or 'OS'. It is was bought in 2011. Maybe the first version of this lens type?
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 03, 2014, 08:50:44 AM
OK, thanks.  This lens will be added in the next release.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: fukapon on February 08, 2014, 09:50:13 AM
Hi.
ExifTool doesn't recognize "Sigma 35mm F1.4 DG HSM" for Pentax K.


>perl exiftool -ver
9.50

>perl exiftool -*model* -*lens* _IMG1101.JPG
Camera Model Name               : PENTAX K-3
Pentax Model Type               : 0
Pentax Model ID                 : K-3
Lens Type                       : Unknown (8 29)
Lens F Stops                    : 8.5
Lens ID                         : Unknown (8 29)
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 08, 2014, 03:14:20 PM
Excellent, thanks!  This will appear in ExifTool 9.51

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: moman on April 03, 2014, 06:00:50 PM
Here are 4 files taken with the Pentax K-3 and the Sigma 30mm F1.4 DC HSM "Art" (http://www.pentaxforums.com/userreviews/sigma-30mm-f14-dc-hsm-art.html) on the Pentax K-3, EXIF is intact:

http://www.pentaxforums.com/forums/32-digital-processing-software-printing/256593-best-way-resize-photos-photo-contest.html#post2766041

The lensid shown (Unknown (8 32)) is from version 9.54.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on April 03, 2014, 06:33:49 PM
Thanks!  This will be added in ExifTool 9.56.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: bart9h on April 05, 2014, 12:02:20 PM
Hi, I bought two Voigtlander lenses:

90mm F3.5 APO-Lanthar SL II
http://www.voigtlander.com/cms/voigtlaender/voigtlaender_cms.nsf/id/pa_90mm_f3_5_slii.html
Lens ID                         : Unknown (33) 90mm

and

20 mm / F3,5 Color Skopar SL II
http://www.voigtlander.com/cms/voigtlaender/voigtlaender_cms.nsf/id/pa_fdih7pyj95.html
Lens ID                         : Unknown (33) 20mm

Both give
Lens Type                       : Voigtlander or Carl Zeiss Lens

The camera is a Canon 6D.

I plan to buy their 40mm too.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on April 05, 2014, 01:00:34 PM
Thanks!  These will appear in ExifTool 9.57.  These lenses are already recognized for Nikon:

Voigtlander Color Skopar 20mm F3.5 SLII Aspherical
Voigtlander APO-Lanthar 90mm F3.5 SLII Close Focus

I will use these same names (except that by convention Canon uses "f/" instead of "F") unless I hear otherwise from you.

The Ultron 40mm is already in the list, so it should be identified properly.

- Phil
Title: Sigma 50 Art
Post by: Beholder3 on May 10, 2014, 08:41:38 AM
Hi,

the new Sigma 50 1.4 Art on Canon EF is reported by exiftool as Canon 35 1.4 L.

Is there any way for exiftool to check the focal length and the depending on it report the right lens name?
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on May 10, 2014, 09:04:22 AM
Thanks!  It will be called "Sigma 50mm f/1.4 DG HSM | A", and the LensID tag should be able to distinguish this from the Canon lens.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: mhb on May 13, 2014, 07:20:26 AM

Hi Phil

Two Sigma Art lenses on a Canon 5DIII

1. Shooting with a Canon 5D III and a
   Sigma 24-105mm f/4 DG OS HSM | A

   exiftool -ver = 9.6.0 shows

   Lens ID                         : Canon 24-105mm
   Make                            : Canon
   Camera Model Name               : Canon EOS 5D Mark III

   Manufacturer’s Lens Model No for Canon Mount should be:
   Sigma 24-105mm F4 DG OS HSM | A

   See http://www.sigmaphoto.com/product/24-105mm-f4-dg-os-hsm-a


2. Shooting with a Canon 5D III and a
   Sigma 35mm f/1.4 DG HSM | A


   exiftool -ver = 9.6.0 shows

   Lens ID                         : Sigma 35mm f/1.4 DG HSM
   Make                            : Canon
   Camera Model Name               : Canon EOS 5D Mark III

   Manufacturer’s Lens Model No for Canon Mount should be:
   Sigma 35mm f/1.4 DG HSM | A
   See http://www.sigmaphoto.com/product/35mm-f14-dg-hsm-a

Do you need the Raw Files?

Thanks for a great tool.

Regards
Mark
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on May 13, 2014, 07:27:22 AM
Hi Mark,

Great, thanks!  I need more information for the first lens.  Could you post the output of this command for the Sigma 24-105mm F4 DG OS HSM | A?:

exiftool -lenstype# FILE

Thanks.

Unfortunately, I don't think that the 2nd lens (35mm) can be differentiated from the non-Art version, so I don't think there is anything I can do about this.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: mhb on May 16, 2014, 06:43:33 AM
Hi Phil

Using  exiftool -lenstype# shows following:

255 for Canon 5DIII with Sigma 24-105mm F4 DG OS HSM | A
169 for Canon 5DIII with Sigma 35mm f/1.4 DG HSM | A

Thanks again
Mark
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on May 16, 2014, 07:10:36 AM
Hi Mark,

Thanks.  I've added the 24-105.  The other lens will still be identified as "Sigma 35mm f/1.4 DG HSM".

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on June 27, 2014, 10:31:16 AM
Sigma 18-35mm F1.8 DC HSM for Pentax has ID 8/31
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on June 27, 2014, 07:48:48 PM
Great!  That fills in a missing value nicely.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on September 19, 2014, 03:02:48 PM
For the Pentax 645Z there are two new ISO values:

Unknown (36) means ISO 102.400
Unknown (39) means ISO 204.800

(From Photokina playing with the thing)
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on September 19, 2014, 03:17:50 PM
The new Sigma 150-600mm F5-6,3 DG OS HSM Sports on Canon is reported back as Canon EF 400 f5.6. Seems a double use.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on September 19, 2014, 06:14:24 PM
For the Pentax 645Z there are two new ISO values:

Unknown (36) means ISO 102.400
Unknown (39) means ISO 204.800

Thanks.  I'll add these:

Code: [Select]
            34 => 64000,
            35 => 80000,
            36 => 102400,
            37 => 128000,
            38 => 160000,
            39 => 204800,

This may have just missed the 9.71 release, but it will appear in 9.72.

The new Sigma 150-600mm F5-6,3 DG OS HSM Sports on Canon is reported back as Canon EF 400 f5.6. Seems a double use.

Thanks, but I need to know the numerical LensID number because Canon itself seems to be inconsistent with this lens.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on September 25, 2014, 01:48:17 PM
The lens ID of the Sigma 150-600 sports is 172
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on September 25, 2014, 01:49:44 PM
Excellent, thanks!

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: KenO on September 25, 2014, 02:30:14 PM
Hi Phil,

Where is the Lens Database so can check if any of my lenses are not listed.

Ken
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on September 25, 2014, 04:16:38 PM
Hi Ken,

They are all listed in the Tag Name documentation (https://exiftool.org/TagNames/) for the appropriate camera manufacturer.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: reisschuessel on October 16, 2014, 02:39:08 PM
Hi Phil,

i'd like to add a new Lens from Nikon.
I used ExifTool 9.74.

AF-S Nikkor 20mm f/1.8G ED
Code: [Select]
Make                            : NIKON CORPORATION
Camera Model Name               : NIKON D600

Lens Type                       : G
Lens                            : 20mm f/1.8
Lens F Stops                    : 6.33
Lens Data Version               : 0204
Lens ID Number                  : 169
Lens F Stops                    : 6.33
Lens ID                         : Unknown (A9 4C 31 31 14 14 C4 06)
Lens                            : 20mm f/1.8 G

Thanks for your great work!
 :)

-Niels
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on October 16, 2014, 07:08:13 PM
Thanks!  This will appear in ExifTool 9.75.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on November 01, 2014, 09:22:57 AM
The Samsung NX lens 16-50/2-2.8 reports back as Unknown (13)

Here is a raw from the NX1 with that lens: http://www.imaging-resource.com/PRODS/samsung-nx1/YSAM_0665.SRW.HTM

There also is an Unknown (3) Exposure mode in there.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on November 02, 2014, 07:43:18 AM
Thanks!  I'll add this lens.

Samsung has been writing an invalid EXIF:ExposureMode for a number of models.  I don't know what it is supposed to mean, but it would be problematic to add support for this because it would open the window for ExifTool to write this invalid value too.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: JosR on November 29, 2014, 01:28:15 PM
Hi Phil,

From the first Sony ILCE-7M2 samples I found (Software : ILCE-7M2 v1.00), the following changes to Sony.pm would appear to largely cover this model:
 - SonyModelID = 340
 - should be added to the Condition for Tag2010g
 - Tag9405 starts with x9a which can be added to the Condition for Tag9405b

Regards,
Jos
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on November 29, 2014, 02:37:05 PM
Hi Jos,

Thanks.  This will appear in ExifTool 9.78.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: gamin on December 29, 2014, 08:33:19 AM
Hi Phil,

In my Canon 70D, with Exiftool 9.76, the Tokina AT-X 12-28 PRO DX (http://www.tokinalens.com/tokina/products/atxpro/atx1228prodx/ (http://www.tokinalens.com/tokina/products/atxpro/atx1228prodx/)) is listed like this:

Code: [Select]
>exiftool "-lens*" *.cr2
======== Tokina 12-28mm.CR2
Lens Type                       : Canon EF-S 17-85mm f4-5.6 IS USM
Lens Drive No AF                : Focus search on
Lens Info                       : 12-28mm f/0
Lens Model                      : 12-28mm
Lens Serial Number              : 0000000000
Lens                            : 12.0 - 28.0 mm
Lens ID                         : Canon EF-S 17-85mm f4-5.6 IS USM
Lens                            : 12.0 - 28.0 mm (35 mm equivalent: 18.9 - 44.2 mm)

It is unfortunately the same ID (234) as the Canon EF-S 17-85mm f4-5.6 IS USM, which I also own:

Code: [Select]
======== Canon 17-85mm.CR2
Lens Type                       : Canon EF-S 17-85mm f4-5.6 IS USM
Lens Drive No AF                : Focus search on
Lens Info                       : 17-85mm f/0
Lens Model                      : EF-S17-85mm f/4-5.6 IS USM
Lens Serial Number              : 000013bb53
Lens                            : 17.0 - 85.0 mm
Lens ID                         : Canon EF-S 17-85mm f4-5.6 IS USM
Lens                            : 17.0 - 85.0 mm (35 mm equivalent: 26.8 - 134.0 mm)

I validated the Lens ID for both lens from the File Info in Adobe Bridge.

Thanks for your dedication!

Regards,

Martin
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on December 29, 2014, 08:49:58 AM
Hi Martin,

Great, thanks!  This will appear in ExifTool 9.79

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: lsutic on December 30, 2014, 06:20:25 AM
Hi,

here are the lens metadata fields for a Sigma "APO 50-150mm F2.8 EX DC OS HSM" ( http://www.sigmaphoto.com/product/apo-50-150mm-f28-ex-dc-os-hsm ) attached to a Nikon D3200.

Code: [Select]
Camera Model Name               : NIKON D3200
Lens                            : 50-150mm f/2.8
Lens                            : 50-150mm f/2.8 G VR
Lens Data Version               : 0204
Lens F Stops                    : 6.00
Lens ID                         : Unknown (98 48 50 76 24 24 4B 0E)
Lens ID Number                  : 152
Lens Type                       : G VR
Make                            : NIKON CORPORATION
Maker Note Version              : 2.10
Max Aperture At Max Focal       : 2.8
Max Aperture At Min Focal       : 2.8
Max Aperture Value              : 2.8
Max Focal Length                : 151.0 mm
Min Focal Length                : 50.4 mm

Thank you for the effort you put into Exiftool!
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on December 30, 2014, 09:37:46 AM
Great, thanks!  This will appear in ExifTool 9.79

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: lsutic on December 30, 2014, 02:59:47 PM
One more thing regarding the Sigma APO 50-150mm - when I've edited a JPEG shot using that lens in Photoshop and saved it, the lens is identified as an AF-S VR Nikkor 600mm f/4G ED:

Code: [Select]
Field Of View                   : 20.6 deg
Focal Length                    : 66.0 mm (35 mm equivalent: 99.0 mm)
Lens ID                         : AF-S VR Nikkor 600mm f/4G ED
Scale Factor To 35 mm Equivalent: 1.5
Camera Model Name               : NIKON D3200
Make                            : NIKON CORPORATION
Lens                            : 50.0-150.0 mm f/2.8
Lens ID                         : 152
Lens Info                       : 50-150mm f/2.8

Don't know if that information is relevant. The sequence of hex numbers that ExifTool found in the original file
Code: [Select]
Lens ID: Unknown (98 48 50 76 24 24 4B 0E) is nowhere to be found in this new file saved by Photoshop.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on December 30, 2014, 03:38:35 PM
Thanks.  ExifTool may still mis-identify the lens in images mangled by Photoshop, but 9.79 will get the lens correct for original images.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Englischdude on January 17, 2015, 08:53:11 AM
Lens ID unknown for my "Tamron SP AF 10-24mm f/3.5-4.5 Di II LD Aspherical (IF)"
Regards
Martin



ExifTool Version Number         : 9.46
File Name                       : test.JPG
File Type                       : JPEG
Make                            : NIKON CORPORATION
Camera Model Name               : NIKON D7100
Orientation                     : Rotate 270 CW
X Resolution                    : 300
Y Resolution                    : 300
Resolution Unit                 : inches
Software                        : Ver.1.01
Exposure Time                   : 1/125
F Number                        : 4.0
Exposure Program                : Aperture-priority AE
ISO                             : 1600
Sensitivity Type                : Recommended Exposure Index
Exif Version                    : 0230
Date/Time Original              : 2015:01:17 14:42:22
Create Date                     : 2015:01:17 14:42:22
Components Configuration        : Y, Cb, Cr, -
Compressed Bits Per Pixel       : 1
Exposure Compensation           : 0
Max Aperture Value              : 3.5
Metering Mode                   : Center-weighted average
Light Source                    : Unknown
Flash                           : Off, Did not fire
Focal Length                    : 10.0 mm
Maker Note Version              : 2.11
Quality                         : Basic
White Balance                   : Auto1
Focus Mode                      : AF-C
Flash Setting                   :
Flash Type                      :
White Balance Fine Tune         : 0 0
WB RB Levels                    : 2.46484375 1.75 1 1
Program Shift                   : 0
Exposure Difference             : 0
Compression                     : JPEG (old-style)
Preview Image Start             : 15872
Preview Image Length            : 25700
Flash Exposure Compensation     : 0
ISO Setting                     : 1600
Image Boundary                  : 0 0 2992 2000
External Flash Exposure Comp    : 0
Flash Exposure Bracket Value    : 0.0
Exposure Bracket Value          : 0
Crop Hi Speed                   : Off (6036x4020 cropped to 6036x4020 at pixel 0,0)
Exposure Tuning                 : 0
Serial Number                   : 4496626
VR Info Version                 : 0100
Vibration Reduction             : Off
VR Mode                         : Normal
Active D-Lighting               : Off
Picture Control Version         : 0100
Picture Control Name            : Standard
Picture Control Base            : Standard
Picture Control Adjust          : Full Control
Picture Control Quick Adjust    : Normal
Brightness                      : Normal
Hue Adjustment                  : None
Filter Effect                   : n/a
Toning Effect                   : n/a
Toning Saturation               : n/a
Timezone                        : +01:00
Daylight Savings                : Yes
Date Display Format             : D/M/Y
ISO Expansion                   : Off
ISO2                            : 1600
ISO Expansion 2                 : Off
Auto Distortion Control         : Off
HDR Info Version                : 0200
HDR                             : Off
HDR Level                       : Auto
Lens Type                       : G
Lens                            : 10-24mm f/3.5-4.5
Flash Mode                      : Did Not Fire
Shooting Mode                   : Single-Frame
Shot Info Version               : 0227
Firmware Version                : 1.01
Noise Reduction                 : Off
Color Balance Version           : 0218
Lens Data Version               : 0204
Exit Pupil Position             : 682.7 mm
AF Aperture                     : 3.6
Focus Position                  : 0x00
Focus Distance                  : 0.24 m
Lens ID Number                  : 246
Lens F Stops                    : 5.25
Min Focal Length                : 10.0 mm
Max Focal Length                : 24.5 mm
Max Aperture At Min Focal       : 3.6
Max Aperture At Max Focal       : 4.5
MCU Version                     : 223
Effective Max Aperture          : 3.6
Retouch History                 : None
Image Data Size                 : 452174
Shutter Count                   : 3270
Flash Info Version              : 0106
Vari Program                    :
Multi Exposure Version          : 0100
Multi Exposure Mode             : Off
Multi Exposure Shots            : 0
Multi Exposure Auto Gain        : Off
High ISO Noise Reduction        : Normal
Power Up Time                   : 0000:00:00 00:00:00
AF Info 2 Version               : 0100
Contrast Detect AF              : Off
AF Area Mode                    : Dynamic Area (9 points)
Phase Detect AF                 : On (51-point)
Primary AF Point                : C2
AF Points Used                  : (none)
Contrast Detect AF In Focus     : No
File Info Version               : 0100
Directory Number                : 102
File Number                     : 3262
AF Fine Tune                    : On (1)
AF Fine Tune Index              : n/a
AF Fine Tune Adj                : 0
User Comment                    :
Sub Sec Time                    : 70
Sub Sec Time Original           : 70
Sub Sec Time Digitized          : 70
Flashpix Version                : 0100
Color Space                     : sRGB
Exif Image Width                : 2992
Exif Image Height               : 2000
Interoperability Index          : R98 - DCF basic file (sRGB)
Interoperability Version        : 0100
Sensing Method                  : One-chip color area
File Source                     : Digital Camera
Scene Type                      : Directly photographed
CFA Pattern                     : [Red,Green][Green,Blue]
Custom Rendered                 : Normal
Exposure Mode                   : Auto
Digital Zoom Ratio              : 1
Focal Length In 35mm Format     : 15 mm
Scene Capture Type              : Standard
Gain Control                    : High gain up
Contrast                        : Normal
Saturation                      : Normal
Sharpness                       : Hard
Subject Distance Range          : Unknown
GPS Version ID                  : 2.3.0.0
Thumbnail Offset                : 42496
Thumbnail Length                : 8780
MPF Version                     : 0100
Number Of Images                : 2
MP Image Flags                  : Dependent child image
MP Image Format                 : JPEG
MP Image Type                   : Large Thumbnail (full HD equivalent)
MP Image Length                 : 127881
MP Image Start                  : 524800
Dependent Image 1 Entry Number  : 0
Dependent Image 2 Entry Number  : 0
Image Width                     : 2992
Image Height                    : 2000
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
Aperture                        : 4.0
Auto Focus                      : On
Blue Balance                    : 1.75
Image Size                      : 2992x2000
Lens ID                         : Unknown (F6 3F 18 37 2C 34 DF 06)
Lens                            : 10-24mm f/3.5-4.5 G
Preview Image                   : (Binary data 25700 bytes, use -b option to extract)
Red Balance                     : 2.464844
Scale Factor To 35 mm Equivalent: 1.5
Shutter Speed                   : 1/125
Create Date                     : 2015:01:17 14:42:22.70
Date/Time Original              : 2015:01:17 14:42:22.70
Modify Date                     : 2015:01:17 14:42:22.70
Thumbnail Image                 : (Binary data 8780 bytes, use -b option to extract)
Circle Of Confusion             : 0.020 mm
Depth Of Field                  : 0.09 m (0.20 - 0.29)
Field Of View                   : 98.0 deg (0.55 m)
Focal Length                    : 10.0 mm (35 mm equivalent: 15.0 mm)
Hyperfocal Distance             : 1.25 m
Light Value                     : 7.0
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 17, 2015, 03:11:58 PM
Thanks!  Is the the B001 model?  If so, I wonder why the LensID changed since ExifTool already recognizes this lens with a slightly different LensID.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: reisschuessel on February 05, 2015, 05:14:22 PM
Hi Phil,

i'd like to add a new Lens from Nikon.
I used ExifTool 9.81.

AF-S Nikkor 300mm f/4E PF ED VR

Code: [Select]
Lens Type                       : G VR
Lens                            : 300mm f/4
Lens F Stops                    : 6.00
Lens Data Version               : 0204
Lens ID Number                  : 168
Lens F Stops                    : 6.00
Lens ID                         : Unknown (A8 48 8E 8E 30 30 C3 0E)
Lens                            : 300mm f/4 G VR

Thanks for your great work!
 :)

-Niels
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 05, 2015, 06:53:24 PM
Hi Niels,

Thanks!  This will appear in ExifTool 9.83

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Menace on February 13, 2015, 01:17:10 AM
I have the Sigma AF 180 f 4.0 Makro which is shown as "Sigma 24-105mm f/4 DG OS HSM | A" on my Canon. But where can I find the ID-Number?
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 13, 2015, 06:47:12 AM
Thanks.  That's enough information.  It is ID 255.  (You could get this by extracting -lenstype#.)

This will appear in ExifTool 9.85 as "Sigma AF 180mm f/4.0 Macro".

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Menace on February 13, 2015, 09:53:20 AM
Sorry, Phil, I made a mistake. The correct name should be: "SIGMA APO Makro 180mm F2.8 EX DG OS HSM " or "MAKRO 180mm F2,8 EX DG OS HSM"

http://www.sigma-foto.de/produkte/objektive/180mm-f28-ex-dg-os-hsm.html
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 13, 2015, 10:00:08 AM
Thanks!  Sigma is really inconsistent about where the "APO" goes in the name.  To be consistent with other Sigma lenses in the Canon list, I will use this name:

    Sigma 180mm f/2.8 EX DG OS HSM APO Macro

It is interesting that this lens already exists in the list with an ID of 183.  But yours has an ID of 255.  Life would be a lot easier if these companies could be more consistent.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Menace on February 13, 2015, 12:06:03 PM
Phil, thank you a lot, for your fantastic work.
Title: Re: Post your LensType / LensID discoveries here
Post by: Menace on February 14, 2015, 11:03:18 AM
This will appear in ExifTool 9.85 as "Sigma AF 180mm f/4.0 Macro".

Hi Phil,

I just tried 9.85, but it is still shown as "Sigma 24-105mm f/4 DG OS HSM | A". Did I make a mistake?
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 14, 2015, 06:14:38 PM
Could you send me a sample image so I can take a look?  My email is philharvey66 at gmail.com.  Thanks.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Menace on February 14, 2015, 06:42:54 PM
Hi Phil, I send you a link,because the RAW-File is to big.

It seems, that Capture One Pro 8 doesn't write the Info of the Lens in the metadata? I send also a jpg, exported from Capture One.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 14, 2015, 09:48:00 PM
It will be tuesday before I can download the raw file, but I will post back then with my findings.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Menace on February 15, 2015, 02:34:02 AM
Hi Phil. Thanks for looking in that problem.  :)
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 17, 2015, 07:00:49 AM
I got your sample.  ExifTool 9.85 works as expected for me:

Code: [Select]
> exiftool ~/Desktop/2015-02-12\ -\ XR2A7561.CR2 -exiftoolversion -'*lens*'
ExifTool Version Number         : 9.85
Lens Type                       : Sigma 24-105mm f/4 DG OS HSM | A or Other Sigma Lens
Lens Info                       : 180mm f/0
Lens Model                      : 180mm
Lens Serial Number              : 0000000000
Lens                            : 180.0 mm
Lens ID                         : Sigma 180mm f/2.8 EX DG OS HSM APO Macro
Lens                            : 180.0 mm (35 mm equivalent: 174.7 mm)

It is LensID that you should be looking at.  The LensType is ambiguous, and LensID is a Composite tag that attempts to identify the specific lens model.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Menace on February 17, 2015, 11:09:03 AM
Hi Phil,

now I see my mistake. Sorry, Phil. I'll write Phase one, that they should export the metadata.
Title: Sigma 300mm F2.8 EX DG APO IF
Post by: Beholder3 on July 17, 2015, 11:12:33 AM
"Sigma 300mm F2.8 EX DG APO IF" (the one with screwdrive, no HSM)
for Pentax
shows as "Unknown (3 42)".

I am not really sure about the naming conventions for this glass.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on July 17, 2015, 01:10:48 PM
Thanks.  Sigma is somewhat inconsistent in its naming conventions, specifically where the "APO" goes.  In a majority of lenses it seems to come after the F-number.  Googling for this lens on a Pentax mount (without HSM) yields many hits with APO after the F-number, but no "IF".  The "IF" version seems very rare, however the naming is the same you gave, so I'll use this.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Batty on September 25, 2015, 11:58:33 PM
Hi Phil, just tried out my new Nikon "AF-S NIKKOR 200-500mm f/5.6E ED VR" lens, and Exiftool displays this for the Lens ID:

Lens ID                         : Unknown (AE 3C 80 A0 3C 3C C9 0E)
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on September 28, 2015, 08:42:29 AM
Hi Batty,

Thanks.  This lens should already be recognized by the current version of ExifTool (10.02).

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Batty on September 28, 2015, 12:07:43 PM
Confirmed, thx!
Title: Re: Post your LensType / LensID discoveries here
Post by: Mees Dekker on October 04, 2015, 11:59:38 AM
The lens ID of the Sigma 150-600 sports is 172

I have such a lens, but when I attach the 1.4 convertor to it, it does return some wrong values. See below.

Also : Sports version (I suppose "S")  comes back as "C"

Belichtingstijd   1/49
Brandpuntafstand   840 mm
Lens Type   Canon EF 100-400mm f/4.5-5.6L IS + 1.4x
Max Focal Length   840 mm
Min Focal Length   210 mm
Oriëntatie van de afbeelding   Horizontal (normal)

Objectief   210.0 - 840.0 mm
Lens   Canon EF 100-400mm f/4.5-5.6L IS + 1.4x
Lens ID   181
Lens Serial Number   0000000000
Lensgegevens   210-840mm f/?
Objectief   210-840mm
)
Lens Model   210-840mm
Lens Serial Number   0000000000
Lensgegevens   210-840mm f/0
XMP Toolkit   Image::ExifTool 9.99

Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on October 04, 2015, 10:00:21 PM
Thanks, but what is the exact model name of your lens?

Is it "Sigma 150-600mm f/5-6.3 DG OS HSM | S" ?

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Mees Dekker on October 05, 2015, 06:24:01 AM
Phil,

You're spot on

Mees

Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on October 05, 2015, 07:33:34 AM
Hi Mees,

Thanks.  It's odd that the lens produces such different ID's when used with a converter.  This requires some new logic to be added to ExifTool.  Version 10.03 will contain this update, and should be released sometime this week.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: JosR on November 11, 2015, 04:18:38 PM
Hi Phil,

I tried to email some of this to you, but got the mails back with "(Unable to deliver message within specified time.)", therefore I post it here:

=========================
Exiftool 10.05
new lenses:
in Canon.pm: LensType 180.5 should maybe have "ZE" as it is the Canon version ?
in Sony.pm: LensType2 49234 should have 'F2.8' like the other Sony/Batis/Loxia lenses (not f/2.8 which is Canon notation)

=========================
Minor typo in sony.pm:
            '3 3 2 0' => 'ARW 2.3.2', #JR (RX1RM2,ICLE-7SM2 - support for uncompressed 14-bit RAW)
'ICLE' should be 'ILCE'
(and maybe also add 'DSC-' to the RX1RM2)

=========================
Ken Rockwell has a comparison between the Canon 16-35mm f/4 lens on a Canon 5DS R and on the Sony 7RM2 with a Fotodiox adapter.
The Sony image gives:
[ExifIFD]       0xa432 Lens Info                       : 16-35mm f/4
[ExifIFD]       0xa434 Lens Model                      : 16-35mm F4 OSS
[Sony]          0xb027 Lens Type                       : Canon EF 16-35mm f/4L IS USM + Metabones Adapter
[Sony]          0xb02a Lens Spec                       : 16-35mm F4 OSS
[Sony]          0x0008 Lens Mount 2                    : A-mount (5)
[Sony]          0x0009 Lens Type 3                     : Metabones Canon EF Smart Adapter Mark III or IV
[Sony]          0x000b Camera E-mount Version          : 1.50
[Sony]          0x000d Lens E-mount Version            : 1.08
[Sony]          0x0015 Lens Firmware Version           : Ver.31
(LensType=61691)
(LensType3=78)

It looks like the Fotodiox adapter behaves exactly like a Metabones smart adapter ...
This matches with some images I have seen (but without makernotes) with the Viltrox Canon EF adapter which also appeared to use the 61184 offset plus Canon-ID (from XMP-aux:LensID).

So I think comments and/or descriptions in Minolta.pm at LensType=61184 and in Sony.pm at LensType2=78 should be adapted to refer also to Fotodiox and Viltrox adapters.


NB: from a comparison of the external view of several Canon EF to Sony-E smart adapters I did some time ago, there appeared to be at least four different designs:

1) "Fotodiox Pro EF-NEX Auto" (smooth sides, matt-black E-mount)
 = "VILTROX MOUNT ADAPTER EF-NEX II" (smooth sides, matt-black E-mount)
 = "CAMERAPLUS MOUNT ADAPTER AT-EF-NEX II" (smooth sides, matt-black E-mount)
 = "Commlite AUTO MOUNT ADAPTER EF-NEX" (smooth sides, silver/metal E-mount)

2) "Commlite Auto Focus Adapter EF-NEX" ('ribbed' sides)
 = "Koolertron Auto Focus Adapter EF-NEX"
 = Neewer "YouPro Auto Focus Adapter EF-NEX"

3) Metabones - own design

4) Fotga - appears to be a different design

Regards,
Jos
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on November 11, 2015, 07:57:14 PM
Hi Jos,

Thanks!  I've updated mostly the comments in the code as you have suggested, and have also changed these lens descriptions:

Code: [Select]
    61184 => 'Metabones Canon EF Adapter or Other Adapter', #JR (also Fotodiox or Viltrox)
    78 => 'Metabones Canon EF Smart Adapter Mark III or Other Adapter', #PH/JR (also Mark IV, Fotodiox and Viltrox)

- Phil

(I don't know what the mail problem was, but I haven't seen a blip in the mail service at my end)
Title: Re: Post your LensType / LensID discoveries here
Post by: ycl on November 12, 2015, 12:56:43 AM
as per http://www.exiftool.org/index.html#boldly
"... run exiftool with the -U option"

1) The LensType and/or LensID values extracted by ExifTool.
None.

2) The camera make (Canon, Nikon, Sony, Olympus, Pentax, etc).
Samsung

3) The exact lens model name as given by the lens Manufacturer.
Schneider KREUZNACH VARIOPLAN 4.1-86.1mm 1:2.8-5.9 23mm ZOOM

Code: [Select]
ExifTool Version Number         : 10.05
File Name                       : 2013_03_15__11_12_48-SAMSUNG-SAMSUNG_WB850F.jpg
Directory                       : .
File Size                       : 7.0 MB
File Modification Date/Time     : 2013:03:15 11:12:48-04:00
File Access Date/Time           : 2015:11:12 00:47:13-05:00
File Inode Change Date/Time     : 2015:11:12 00:46:40-05:00
File Permissions                : rw-r--r--
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Big-endian (Motorola, MM)
Make                            : SAMSUNG
Camera Model Name               : SAMSUNG WB850F/WB855F
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : 210086
Modify Date                     : 2013:03:15 11:12:48
Y Cb Cr Positioning             : Co-sited
Exposure Time                   : 1/500
F Number                        : 4.0
Exposure Program                : Program AE
ISO                             : 100
Exif Version                    : 0221
Date/Time Original              : 2013:03:15 11:12:48
Create Date                     : 2013:03:15 11:12:48
Components Configuration        : Y, Cb, Cr, -
Exposure Compensation           : 0
Max Aperture Value              : 2.8
Metering Mode                   : Multi-segment
Light Source                    : Unknown
Flash                           : No Flash
Focal Length                    : 4.1 mm
Warning                         : [minor] Unrecognized MakerNotes
Flashpix Version                : 0100
Color Space                     : sRGB
Exif Image Width                : 4608
Exif Image Height               : 3456
Sensing Method                  : One-chip color area
Exposure Mode                   : Auto
White Balance                   : Auto
Digital Zoom Ratio              : 1
Focal Length In 35mm Format     : 23 mm
Scene Capture Type              : Standard
Contrast                        : Normal
Saturation                      : Normal
Sharpness                       : Normal
Compression                     : JPEG (old-style)
Thumbnail Offset                : 20088
Thumbnail Length                : 7903
MPF Version                     : 0100
Number Of Images                : 2
MP Image Flags                  : Dependent child image
MP Image Format                 : JPEG
MP Image Type                   : Large Thumbnail (VGA equivalent)
MP Image Length                 : 140444
MP Image Start                  : 7172566
Dependent Image 1 Entry Number  : 640
Dependent Image 2 Entry Number  : 480
Image Width                     : 4608
Image Height                    : 3456
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
Aperture                        : 4.0
Image Size                      : 4608x3456
Preview Image                   : (Binary data 140444 bytes, use -b option to extract)
Megapixels                      : 15.9
Scale Factor To 35 mm Equivalent: 5.6
Shutter Speed                   : 1/500
Thumbnail Image                 : (Binary data 7903 bytes, use -b option to extract)
Circle Of Confusion             : 0.005 mm
Field Of View                   : 76.1 deg
Focal Length                    : 4.1 mm (35 mm equivalent: 23.0 mm)
Hyperfocal Distance             : 0.78 m
Light Value                     : 13.0

Hope this helps!
Thank you,
Daniel Villarreal
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on November 12, 2015, 07:47:25 AM
Hi Daniel,

Unfortunately ExifTool doesn't yet decode the WB850F maker notes.  And even if it did, the lens information is likely not stored there because this is a fixed-lens camera.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: lseeker on January 21, 2016, 12:28:58 PM
Hi Phil, here is new lens from Pentax!

"HD PENTAX-D FA 24-70mm F2.8 ED SDM WR"

Lens Type                       : Unknown (8 62)
Lens ID                         : Unknown (8 62)

Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 22, 2016, 07:46:21 AM
Thanks.  As it turns out I had already discovered this one myself. :)  It will appear in the update that I plan to release today.

- Phil
Title: Pentax K-1 and lenses
Post by: Beholder3 on February 20, 2016, 04:15:49 AM
You might want to have a look at http://www.ricoh-imaging.co.jp/english/products/k-1/ex/img/ex-pic05_on.jpg

There are new values for AF Point selected and AF points in focus.

The HD PENTAX-D FA 28-105mm F3.5-5.6 ED DC WR  Kit lens has Lens Type 8/61 .

The K-1 has Pentax Model ID 0x13092.

The K-1 Raw development process is "16"

The sample for the HD PENTAX-D FA 15-30mm F2.8 ED SDM WR is here: http://www.dpreview.com/sample-galleries/9969263190/pentax-k-1-pre-production-sample-gallery/1317951869
It has the lens ID 8/63.


http://www.dpreview.com/sample-galleries/9969263190/pentax-k-1-pre-production-sample-gallery/1317951869
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 20, 2016, 10:56:48 AM
Thanks!  I've been following the K-1 release with some interest. :)

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Mees Dekker on April 23, 2016, 11:06:33 AM
Hi Phil,

Sigma has two versions of this lens (150-600 mm: Contemporary and Sports version). I just noticed that this Sigma 150-600 Sports lens, is still reporting as a Contemporary version. But when attached to a 1.4 convertor, it will transmit the wright version.

And yes: I do use the latest version of ExifTool.

Do you mind to have another look into this?

Best regards,

Mees


Hi Mees,

Thanks.  It's odd that the lens produces such different ID's when used with a converter.  This requires some new logic to be added to ExifTool.  Version 10.03 will contain this update, and should be released sometime this week.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Batty on April 27, 2016, 08:28:59 AM
Hi Phil, I just received the new Sigma 50-100 f/1.8 lens for Nikon (http://www.sigmaphoto.com/50-100mm-f1-8-dc-hsm-art), and Exiftool is giving me this:

ExifTool Version Number         : 10.15
Lens ID                         : Unknown (CC 4C 50 68 14 14 4B 06)
Lens Type                       : G
Lens                            : 50-100mm f/1.8
Lens Data Version               : 0204
Lens ID Number                  : 204
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on May 02, 2016, 11:14:24 AM
Great, thanks!  This will be added to 10.16.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: JosR on May 25, 2016, 02:31:34 AM
Hi Phil,
after accidentally finding the new LensType2 number for the Touit 50mm, I searched for the other missing Zeiss lenses at 49xxx and found the other Touit lenses and also the Loxia 35mm, all having Lens Firmware Version Ver.02.
So the following can be added to the LensType2 list in Sony.pm (similar to the Loxia 50mm):

    49201 => 'Zeiss Touit 12mm F2.8', #JR (lens firmware Ver.02)
    49202 => 'Zeiss Touit 32mm F1.8', #JR (lens firmware Ver.02)
    49203 => 'Zeiss Touit 50mm F2.8 Macro', #JR (lens firmware Ver.02)

    49233 => 'Zeiss Loxia 35mm F2', #JR (lens firmware Ver.02)
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on May 28, 2016, 07:32:15 PM
Thanks Jos.  These will appear in ExifTool 10.19

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on September 23, 2016, 02:24:27 PM
"Unknown (4 10)" on Pentax K represents the Irix 15mm F2.4 lens (tested a Blackstone version).

The new Tamron SP 150-600mm F5-6.3 Di VC USD G2 on Canon EF registers with the ID of a Canon ef 100-400mm II lens.

The Irix 11mm F4 prototype on Canon registers as a "Canon 11mm".
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on September 23, 2016, 10:28:20 PM
Thanks!  I'll add these when I have a chance and post back here if I have any questions.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on September 26, 2016, 07:36:14 AM
For the Irix 11mm, what is the LensType number (ie. "exiftool -lenstype#")?

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on October 18, 2016, 11:03:42 AM
For the Irix 11mm, what is the LensType number (ie. "exiftool -lenstype#")?

- Phil

Sorry for the very late answer. It is "Unknown (60)"
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on October 18, 2016, 11:08:01 AM
Thanks.  I'll add that one too.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Paul Barrett on December 04, 2016, 11:45:14 AM
How about this:

Lens Make                        Apple
Lens Model                       Apple Apple Apple Apple Apple Apple Apple Apple Apple iPhone 6 back camera 4.15mm f/2.2

WTF?

Paul
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on December 04, 2016, 03:01:08 PM
This is likely the EXIF:LensModel value, which is a string.  I don't know why some software would write this.  I don't think it is like this straight out of the iPhone.

- Phil
Title: LensType / LensID: Sony ILCE-7RM2 + Samyang AF 14mm
Post by: fromcologne on December 27, 2016, 04:31:53 AM
Sony A7 R2 (ILCE-7RM2) + Samyang AF 14mm (this is the new autofocus version)

EXIF:Make = SONY
EXIF:Model = ILCE-7RM2
EXIF:Lens Model = SAMYANG AF 14mm F2.8
SONY:LensType   = 65535
SONY:LensType2 = 51505*

* on the exiftool website there is the value 32790.1. This seems a fault.

This is the lens: www.samyanglensglobal.com/product/detail.do?SQ=36

On different markets this lens is sold unter ROKINON brand.
Their model code is IO14AF-E.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on December 27, 2016, 11:10:11 AM
Thank for this!  I'll look into this and post back if I have any questions.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: KolinP (aka ColinIM) on February 09, 2017, 10:12:55 PM
Hello Phil,

I recently bought the latest (2016) version of Nikon's (Nikkor) 70-200mm zoom lens and I don't see the new lens's metadata so far in this thread, so I'll offer it to you here.

I'm guessing that you might already have obtained this new lens's metadata from some other source, in which case please disregard this post from me, but I'd be interested to hear your thoughts if possible about the fact that this new len's LensType value is the same as the value extracted from my previous "VR1" / 2002 version of the lens! (See below.)

Nikon's formal name for this latest, 2016 version of the 70-200mm Zoom Nikkor is -
AF-S NIKKOR 70-200mm f/2.8E FL ED VR       (my emphasis)

I've seen it referred to informally as "the f/2.8E version", or "the 'FL' version".

But one key point about its name is that, although this new lens is strictly a 'G' lens because it does not have a manually-adjustable aperture ring, Nikon does not use 'G' anywhere in their human-readable descriptions of this 2016 lens.

(For future browsers of this thread ...) My limited research tells me that this new lens was "announced by Nikon in October 2016" but was shipping to at least some parts of the world from November 2016.  I bought mine in UK in early February 2017.

My camera body is a D700, and this new lens's two metadata values - extracted from a recent NEF file - are as follows:

exiftool -lenstype -m  _C7P7951.NEF
returns ...
Code: [Select]
Lens Type                       : G VR
exiftool -lenstype# -m _C7P7951.NEF
returns ...
Code: [Select]
Lens Type                       : 14
exiftool -lensID -m  _C7P7951.NEF
returns ...
Code: [Select]
Lens ID                         : AF-S Nikkor 70-200mm f/2.8E FL ED VR
exiftool -lensID# -m _C7P7951.NEF
returns ...
Code: [Select]
Lens ID                         : A4 48 5C 80 24 24 CF 0E
and ... to add a bit more info ...

From this latest lens, the command
exiftool -lens* -m  _C7P7951.NEF
returns ...
Code: [Select]
Lens Type                       : G VR
Lens                            : 70-200mm f/2.8
Lens Data Version               : 0203
Lens ID Number                  : 164
Lens F Stops                    : 6.00
Lens ID                         : AF-S Nikkor 70-200mm f/2.8E FL ED VR
Lens Spec                       : 70-200mm f/2.8 G VR

(I figure that the last two tags are composite tags because they're omitted if I include the '-e' switch in that command.)

I never owned the "VR2" / 2009 version of this lens.

For comparison with the above, and to illustrate the LensType 'ambiguity' that I mentioned earlier, here are the same tags extracted from my older "VR1" / 2002 version of this lens.  They're from an earlier NEF file of course, taken on the same D700 body.

You will already know Nikon's formal name for the old "VR1" / 2002 lens as -
70-200mm f2.8G ED-IF AF-S VR Zoom-Nikkor

exiftool -lenstype -m  _C7P7917.NEF
returns ...
Code: [Select]
Lens Type                       : G VR
exiftool -lenstype# -m _C7P7917.NEF
returns ...
Code: [Select]
Lens Type                       : 14
exiftool -lensID -m  _C7P7917.NEF
returns ...
Code: [Select]
Lens ID                         : AF-S VR Zoom-Nikkor 70-200mm f/2.8G IF-ED
exiftool -lensID# -m _C7P7917.NEF
returns ...
Code: [Select]
Lens ID                         : 77 48 5C 80 24 24 7B 0E
and again to add a bit more info ...

On that older lens, the command
exiftool -lens* -m  _C7P7917.NEF
returns:
Code: [Select]
Lens Type                       : G VR
Lens                            : 70-200mm f/2.8
Lens Data Version               : 0203
Lens ID Number                  : 119
Lens F Stops                    : 6.00
Lens ID                         : AF-S VR Zoom-Nikkor 70-200mm f/2.8G IF-ED
Lens Spec                       : 70-200mm f/2.8 G VR

TL;DR

I'm surprised that Nikon have programmed both of these lenses with the same LensType value, therefore relying on you (ExifTool) or other software writers to probe deeper into the metadata to distinguish between them!  I could see that Nikon probably had to make both lenses report themselves as "G VR" lenses, because that's strictly what they are, but - with so much of the design of this 2016 lens that is completely new and different (for example, the fact that the mechanical aperture lever is now absent from the new lens) surely (IMO) it would have been forgivable if Nikon had changed the LensType to return "VR E" instead of the same old "VR G" ??  ::)

For example, my current version of DxO Optics Pro Elite (version v11.3.1.11813) is (in the short term) totally confused and cannot tell which lens is which. It thinks my newer NEF files were taken with my old VR1 lens, so I must 'undo' DxO's automatic 'wrong lens' adjustments and make my own manual corrections. (Sorry this is off-topic from ExifTool ...) Of course this DxO confusion will be 'fixed' when DxO Labs has built and released a DxO 'module' for the newer lens. But - I think - if Nikon had installed a different LensType value into this newer lens then even DxO Optics Pro could have spotted that these NEF files were from different lenses.

My trusty IMatch database program (at IMatch version 5.8.4) is able to distinguish between the old VR1 lens and this newest version OK as I browse through my files, which is logical I suppose because IMatch makes good use of ExifTool to extract metadata from our files!

Sorry Phil if this is too much data, and it's perhaps redundant anyway!

Thank you for giving us this wonderous ExifTool utility. We'd all be in a very strange place without it!!

Colin
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 10, 2017, 07:34:28 AM
Hi Colin,

I'll read your post in detail when I get a chance, but in the meantime I have brought it to the attention of Robert Rottmerhusen (who knows a lot more about Nikon lenses than I do), because he could have something to contribute to this discussion.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: KolinP (aka ColinIM) on February 10, 2017, 10:38:32 AM
Thank you Phil,

I should have included that I'm on a Windows 7 64-bit PC, running ExiFtool version 10.41.

(I'm not yet able to 'modify' my posts.)

Colin
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on February 13, 2017, 11:49:37 AM
Hi Colin,

I've read through your post and other than Nikon storing the same "LensType" information for both these lenses I don't see the problem.  ExifTool can distinguish these lenses by other criteria (most notably, LensIDNumber).  In fact, ExifTool doesn't use LensType at all in distinguishing Nikon lenses.  I don't know why DxO has problems distinguishing these lenses.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: KolinP (aka ColinIM) on February 13, 2017, 04:25:59 PM
Hi Phil,

Thankyou for confirming this. 

(I just wanted to be sure that - because this lens is relatively new - there were no 'updates pending' between yourself and Nikon regarding this lens's metadata.)

On DxO Optics Pro (and dwelling off-topic for a moment) ... Yes, this ball is certainly in their camp and not yours.  I've registered my vote on the DxO website for them to develop a DxO module for this lens, but the lens is clearly a long way down their list of priorities because it hasn't even got a 'planned date' for inclusion - yet.  Probably because it's so darned expensive!

Colin
Title: Re: Post your LensType / LensID discoveries here
Post by: mycroft.holmes on May 13, 2017, 09:49:28 AM
Hello,

I'm a photographer with a large collection of lenses; I was trying to remember which one I used to take a picture, and I came across this:

$ exiftool -lens* -n _DSC3361.ARW
Lens Type                       : 25
Lens Spec                       : 00 0 0 0 0 00
Lens Mount                      : 1
Lens Format                     : 2
Lens Spec Features              : 00 00
Lens Info                       : 100 300 4.5 5.6
Lens Model                      : 100-300mm F4.5-5.6
Lens ID                         : 25

$ exiftool -lens*  _DSC3361.ARW
Lens Type                       : Minolta AF 100-300mm F4.5-5.6 APO (D) or Sigma Lens
Lens Spec                       : Unknown (00 0 0 0 0 00)
Lens Mount                      : A-mount
Lens Format                     : Full-frame
Lens Spec Features              :
Lens Info                       : 100-300mm f/4.5-5.6
Lens Model                      : 100-300mm F4.5-5.6
Lens ID                         : 100-300mm F4.5-5.6


however the lens is obviously wrong (I don't own a 100-300).
Rather, it was probably an old Sigma 50mm MACRO. I understand that LensID=25 corresponds to a lot of different Sigma lenses, so I'm not sure you can fix it, but as they were all primes < 100mm, maybe using the focal length might help?

thanks, MH


$ exiftool -focal*  _DSC3361.ARW
Focal Length                    : 50.0 mm
Focal Length In 35mm Format     : 75 mm
Focal Length                    : 50.0 mm (35 mm equivalent: 75.0 mm)
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on May 14, 2017, 10:34:06 AM
Could you send me a sample image from your Sigma 50mm Macro lens?  My email is philharvey66 at gmail.com

Also, what is the exact model name for this lens?

Thanks
Title: Re: Post your LensType / LensID discoveries here
Post by: stevebates on June 23, 2017, 04:26:50 AM
Hi,

I have a couple of lens that aren't registering correctly. I use a Canon EOS 550D and these are

"Sigma 18-300mm F3.5-6.3 DC MACRO OS HS" shows as:

Code: [Select]
Lens Info                       : 18 300 undef undef
Lens                            : Canon EF 75-300mm f/4-5.6 IS USM
Lens ID                         : 197

"Tamron AF 70-300mm f/4-5.6 Di LD 1:2 Macro" as:

Code: [Select]
Lens Type                       : 28
Lens                            : 70
Lens ID                         : 28

Is there anything I can do to improve the detection as the correct lens?

Regards,

Steve.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on June 23, 2017, 06:54:26 AM
Hi Steve,

I will add support for the Sigma, thanks.

The Tamron should already be properly identified in original camera images.  If not, please send me an original image shot with this lens (philharvey66 at gmail.com).

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: lsutic on July 06, 2017, 11:18:13 AM
Lens type and ID:

Code: [Select]
ExifTool Version Number         : 10.51
Make                            : NIKON CORPORATION
Camera Model Name               : NIKON D600
Lens Type                       : G
Lens                            : 15mm f/2.4
Lens F Stops                    : 6.50
Lens Data Version               : 0204
Focal Length                    : 15.0 mm
Lens ID Number                  : 191
Lens F Stops                    : 6.50
Lens ID                         : Unknown (BF 4E 26 26 1E 1E 01 04)
Lens Spec                       : 15mm f/2.4 G

Camera Make: Nikon (D600)

Exact Lens model name: "Irix Lens 15mm f/2.4 Firefly" (caveat: I have no idea if the lens ID is different for the Canon version, or the premium, "Blackstone" version of the lens.)
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on July 06, 2017, 11:20:47 AM
Thanks!  This will appear in ExifTool 10.59.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: pgiraud on October 08, 2017, 08:01:56 AM
Here are the specifications for a lens that doesn't seem to be identified by ExifTool already:

Code: [Select]
ExifTool Version Number         : 10.63
Make                            : NIKON CORPORATION
Camera Model Name               : NIKON D7200
Lens Type                       : G VR [6]
Lens                            : 150-600mm f/5-6.3
Lens Data Version               : 0204
Lens ID Number                  : 227
Lens F Stops                    : 5.33
Lens ID                         : Unknown (E3 40 76 A6 38 40 DF 4E)
Lens Spec                       : 150-600mm f/5-6.3 G VR [6]

The lens model name as given by the manufacturer is : "Tamron SP 150-600mm F/5-6.3 Di VC USD G2"
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on October 08, 2017, 03:32:38 PM
Great, thanks!

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on October 24, 2017, 08:21:13 AM
Irix 11mm F4 Firefly = Lens ID is 4/9
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on October 24, 2017, 08:27:42 AM
Thanks!  Pentax I assume?

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on October 24, 2017, 11:57:12 AM
Yes, sorry I forgot to write that.
Title: Re: Post your LensType / LensID discoveries here
Post by: marley on December 03, 2017, 03:02:50 AM
Irix 11mm f/4 (Firefly) for Nikon

Code: [Select]
Lens Type                       : G
Lens                            : 11mm f/4
Lens Data Version               : 0204
Lens ID Number                  : 191
Lens F Stops                    : 5.00
Lens ID                         : Unknown (BF 3C 1B 1B 30 30 01 04)
Lens Spec                       : 11mm f/4 G
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on December 03, 2017, 11:03:34 AM
Thanks!

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Christ69008 on May 12, 2018, 09:47:13 AM
Hello,

I use an TAMRON SP 15-30mm A012 with a Canon EOS 6D Mark II

ExifTool 1096 indicates
A False value in LENS ID : Canon EF 300mm f/2.08L USM
but
A Goof Value in MODEL LENS : TAMRON SP 15-30mm F/2.8 Di VC USD A012

Thanks
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on May 12, 2018, 04:11:49 PM
Unfortunately that Canon lens has multiple LensType values so I need more information.

What is the output of this command for one of these images?

exiftool -lenstype -n FILE

Thanks

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: ms on June 23, 2018, 11:50:53 AM
Hi, Phil,

first: Thx for the great ExifTool and also to Bogdan for ExifToolGUI, which i both use for about 6 years.

I've found informations on the following lens (used with Nikon D750): Sigma 24-70mm F/2.8 DG OS HSM Art
Lens ID                         : Unknown (C9 48 37 5C 24 24 4B 4E)
Lens Spec                     : 24-70mm f/2.8 G VR [6]
Lens Data Version          : 0204

Greetings from Germany
M.S.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on June 24, 2018, 08:23:18 PM
Great, thanks!

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: alfi on July 24, 2018, 08:12:46 PM

Hi Phil,

I have the Canon version of a Sigma 20mm/1.4 Art (it's updated to the latest firmware). I'm using it on a Canon 5Dmk3 here and the lens info ExifTool displays seems to be a bit off..

With ExifTool 10.40:

$ exiftool -Lens\* -LensType# TZ2_JST_20180724_194421_5d3_ed2b9119.jpg
Lens Type                       : Unknown (368)
Lens Info                       : 20mm f/0
Lens Model                      : 20mm F1.4 DG HSM | Art 015
Lens Serial Number              : 0000000000
Lens                            : 20.0 mm
Lens ID                         : Canon 20mm F1.4 DG HSM | Art 015
Lens                            : 20.0 mm (35 mm equivalent: 19.4 mm)
Lens Type                       : 368

Here at least it shows as a 20mm/1.4 lens. Please note that the LensType is 368 here.

With ExifTool 11.06 it got worse:

$ exiftool -Lens\* TZ2_JST_20180724_194421_5d3_ed2b9119.jpg
Lens Type                       : Sigma 14-24mm f/2.8 DG HSM | A
Lens Info                       : 20mm f/0
Lens Model                      : 20mm F1.4 DG HSM | Art 015
Lens Serial Number              : 0000000000
Lens                            : 20.0 mm
Lens ID                         : Sigma 14-24mm f/2.8 DG HSM | A + 1.4x
Lens                            : 20.0 mm (35 mm equivalent: 19.4 mm)

Now it's recognized as a Sigma, but it became a Sigma 14-24/2.8 Art.

I've dug out an older picture. This is the Sigma 20mm/1.4 Art (with the old firmware version) on the Canon 6D:

$ exiftool -Lens\* -LensType# slide_20160101_000113_6d_img_1748.jpg
Lens Type                       : Canon EF 24mm f/1.4L II or Sigma Lens
Lens Info                       : 20mm f/0
Lens Model                      : Canon EF 24 f/1.4L II
Lens Serial Number              : 0000000000
Lens                            : 20.0 mm
Lens ID                         : Sigma 20mm f/1.4 DG HSM | A
Lens                            : 20.0 mm (35 mm equivalent: 19.7 mm)
Lens Type                       : 250

Here the lens type is 250 and the LensID is correct.

I guess that means the lens type changed with the firmware update (or the 5Dmk3 stores a different lens type for that lens than the 6D, but I have no older pictures of that lens on the 5Dmk3 at hand right now to verify that)?

I've now added a new line for type 368 in /usr/share/perl5/Image/ExifTool/Canon.pm to work around the problem.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on July 25, 2018, 07:09:30 AM
Thanks.  I'll add another 368 LensType entry for this lens.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: c++ on July 25, 2018, 07:15:53 AM
Phil,

I've been looking at some images from a Fuji Finepix S5Pro, and can't get lens data from them.

Code: [Select]
exiftool -Lens\* -LensType# *.raf
Invalid TAG name: Lens\*

I'll attach a full meta data dump of the file. The s5Pro is Nikon F-Mount and the lens in this case is:
AF-S VR Micro-Nikkor 105mm f/2.8G IF-ED

Is this interesting? If yes there are more lenses on the S5 I can share data of or pass on raws.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on July 25, 2018, 07:37:32 AM
It seems that some FujiFilm models don't write lens information, and the S5 pro is one of them.

Either that, or there is lens information that ExifTool isn't yet decoding, but to find this I would need a LOT of samples from a lot of different lenses.  You can do this yourself by looking at the -u output and trying to find anything that correlates with the lens.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: c++ on July 25, 2018, 07:48:38 AM
Either that, or there is lens information that ExifTool isn't yet decoding, but to find this I would need a LOT of samples from a lot of different lenses.

I figured that if it's in there it might be interesting what Adobe decodes from it.
Here is RAW converted to DNG
Code: [Select]
exiftool -Lens* -LensType# *.dng
Lens                            : 105.0 mm f/2.8
Lens Info                       : 105mm f/2.8
Lens Model                      : 105.0 mm f/2.8
Something is in that file it seems.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on July 25, 2018, 07:51:40 AM
ExifTool decodes the focal-length/aperture information:

Code: [Select]
> exiftool ../pics/FujiFilmFinePixS5Pro.raf -"*focal*"
Focal Length                    : 70.0 mm
Min Focal Length                : 28
Max Focal Length                : 70
Max Aperture At Min Focal       : 2.8
Max Aperture At Max Focal       : 2.8
Focal Plane X Resolution        : 630
Focal Plane Y Resolution        : 630
Focal Plane Resolution Unit     : cm
Focal Length In 35mm Format     : 105 mm
Focal Length                    : 70.0 mm (35 mm equivalent: 105.0 mm)
Hyperfocal Distance             : 37.16 m

But nothing about the lens model.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: c++ on July 25, 2018, 07:53:55 AM
You can do this yourself by looking at the -u output and trying to find anything that correlates with the lens.

That seems to be all that's in the *.raf and it explains what Adobe gets out of it:
Code: [Select]
Min Focal Length                : 105
Max Focal Length                : 105
Max Aperture At Min Focal       : 2.8
Max Aperture At Max Focal       : 2.8
Focal Length                    : 105.0 mm (35 mm equivalent: 158.0 mm)
Title: Re: Post your LensType / LensID discoveries here
Post by: c++ on July 25, 2018, 08:17:02 AM
But nothing about the lens model.
Yeah, thanks that will need to be some manual arrangement based on what is on the actual meta data.

I would have expected Composite:LensID to always give something but here I encounter
Code: [Select]
Warning: [minor] Tag 'Composite:LensID' not definedI take it 105.0 mm f/2.8 is not accurate enough to use it for that?
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on July 25, 2018, 08:27:39 AM
Yes.  That would be more along the lines of LensInfo, and not LensID (it isn't identifying the specific lens model).  However, there currently is no Composite LensInfo tag.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on August 03, 2018, 03:40:54 AM
Lens tag 8/64 on Pentax is the "HD PENTAX-D FA* 50mm F1,4 SDM AW"
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on August 07, 2018, 07:23:27 AM
Thanks!  I was waiting for this one.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Beholder3 on August 19, 2018, 05:16:03 AM
I have a Canon mount Sigma 50 Art here that registers as "Unknown (368) 50mm".
From your documentation I would have expected the Lens to have lens type 180.1   = Sigma 50mm f/1.4 DG HSM | A
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on August 19, 2018, 09:14:47 PM
Thanks.  There are other Sigma lenses that also use ID 368, like the 20mm Art... I'll add the 50mm to the list.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Heliotropen on September 17, 2018, 07:12:38 AM
Hello.
Just bought me a Canon EOS 6D mark II with the lens Canon EF 16-35mm f/2.8L III USM.
The Exiftool reports that the crop factor is 1.5. What I know EOS 6D mark II is a FF camera.

Camera Model Name               : Canon EOS 6D Mark II
Lens Type                       : Canon EF 16-35mm f/2.8L III USM
Canon Image Type                : Canon EOS 6D Mark II
Canon Firmware Version          : Firmware Version 1.0.4
Canon Model ID                  : EOS 6D Mark II
Serial Number                   : XXX052000935
Lens Info                       : 16-35mm f/0
Lens Model                      : EF16-35mm f/2.8L III USM
Lens Serial Number              : XXX0000695
Lens                            : 16.0 - 35.0 mm
Lens ID                         : Canon EF 16-35mm f/2.8L III USM
Scale Factor To 35 mm Equivalent: 1.5
Focal Length                    : 35.0 mm (35 mm equivalent: 53.2 mm)
Lens                            : 16.0 - 35.0 mm (35 mm equivalent: 24.3 - 53.2 mm)


======== IMG_0001.CR2
Lens Type                       : 751
    1 image files read

BR
Fredrik
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on September 17, 2018, 07:42:20 AM
Hi Fredrik,

This is likely a bug in the firmware.  Many Canon models write the wrong values for the FocalPlaneX/YResolution tags.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: Heliotropen on September 17, 2018, 07:44:16 AM
Thanks, then I will blame Canon for that!  ;D
Title: Re: Post your LensType / LensID discoveries here
Post by: perriko on October 22, 2018, 06:31:38 AM
I just bought a Nikon D850 DSLR and 2 Sigma lenses. The first lens (with a Nikon F mount)  is:

Sigma AF 24-70MM F/2.8 DG OS HSM (A) F/NIKON
-----------------------------------------
exiftool "-lens*" XYZ.NEF
Lens Type                       : G VR [6]
Lens                            : 24-70mm f/2.8
Lens Focus Function Buttons     : AF Lock Only
Lens Data Version               : 0204
Lens ID Number                  : 201
Lens F Stops                    : 6.00
Lens ID                         : Unknown (C9 48 37 5C 24 24 4B 4E)
Lens Spec                       : 24-70mm f/2.8 G VR [6]
----------------------------------------

The second lens (with a Niknon F mount) is:
Sigma AF 14-24MM F/2.8 DG HSM (A) F/NIKON
------------------------------------------
exiftool "-lens*" PQR.NEF
Lens Type                       : G [6]
Lens                            : 14-24mm f/2.8
Lens Focus Function Buttons     : AF Lock Only
Lens Data Version               : 0204
Lens ID Number                  : 193
Lens F Stops                    : 6.00
Lens ID                         : Unknown (C1 48 24 37 24 24 4B 46)
Lens Spec                       : 14-24mm f/2.8 G [6]
------------------------------------
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on October 22, 2018, 07:09:34 AM
Thanks!  The first lens was added in ExifTool 11.04, and I will add the second one for ExifTool 11.15.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: stretch on January 13, 2019, 01:16:33 AM
Hi all, thanks to Phil for this amazing tool.

I have a new Nikkor 200-500 lens and I am seeing a [6] on the end of the lens string when I query the metadata.
Does anyone know what this means or is it some extra info that hasn't been decoded yet?

Code: [Select]
  "Composite:LensID": "AF-S Nikkor 200-500mm f/5.6E ED VR",
  "Composite:LensSpec": "200-500mm f/5.6 G VR [6]",
  "MakerNotes:Lens": "200-500mm f/5.6",
  "MakerNotes:LensDataVersion": "0204",
  "MakerNotes:LensFStops": 5.0,
  "MakerNotes:LensIDNumber": 174,
  "MakerNotes:LensType": "G VR [6]",

Cheers
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 13, 2019, 08:44:15 AM
That is a bit in the LensType field that is currently unknown.  Please let me know if you have any idea of what it could be.  I have made a note that it could be related to FL lenses.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: stretch on January 14, 2019, 02:47:09 AM
Ah I wondered, well I might be able to assist a little.
My lens doesn't have any Fluorine elements, so I don't think it would be that..
The most obvious thing I spot reading specs etc is that it has a electronic diaphragm which seems to throw an extra E into the designations..
See: http://www.nikon.com.au/en_AU/product/nikkor-lenses/f-mount/fx-format/zoom/af-s-nikkor-200-500mm-f-5-6e-ed-vr#tech_specs
and: https://kenrockwell.com/nikon/200-500mm.htm#spex
My only other guess would be the SWM autofocus (Silent Wave Motor) or IF internal focus but pretty sure they are both used in a lot of lenses, so that seems unlikely..

Not sure if there are any other lenses with that unknown code showing to compare with, but happy to help research if none of that info above helps.

Thanks
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on January 14, 2019, 07:22:21 AM
Thanks for the feedback.  Out of all the Nikon samples I have here, the following lenses show with bit 6 set:

AF-S Nikkor 800mm f/5.6E FL ED VR
AF-S Nikkor 600mm f/4E FL ED VR
AF-S Nikkor 500mm f/5.6E PF ED VR
AF-S Nikkor 105mm f/1.4E ED
AF-S DX Nikkor 16-80mm f/2.8-4E ED VR
AF-S Nikkor 24-70mm f/2.8E ED VR
AF-S Nikkor 70-200mm f/2.8E FL ED VR
AF-S Nikkor 180-400mm f/4E TC1.4 FL ED VR + 1.4x TC
AF-S Nikkor 200-500mm f/5.6E ED VR

So I think you are right about the "E" designation.  I'll add this definition to LensType.

Thanks!

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: stretch on January 14, 2019, 04:55:35 PM
I didn't check them all but yes of the ones in that list they all seemed to have the E somewhere in the name and mention of an electromagnetic aperture mechanism in the description.
Hopefully that solves that mystery  8)
Thanks
Title: Re: Post your LensType / LensID discoveries here
Post by: Mees Dekker on May 03, 2019, 03:19:05 PM
Since I updated the firmware of my Sigma 150-600 Sports lens ("Sigma 150-600mm f/5-6.3 DG OS HSM | S") to version 2.0 (through the use of the Sigma USB dock), the lens is reported as "Unknown (368) 150-600mm".

No other changes were made: same lens, same camera (Canon 5D MkIII).

Any clue to this "problem"?
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on May 03, 2019, 10:26:54 PM
Thanks for this report.  I'll add this new LensType for ExifTool 11.40

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: spray on June 15, 2019, 02:47:37 AM
Hi,
I have two recent Tamron lenses, used with a Nikon D750. Here are the lens details :

Tamron SP 70-200mm f/2.8 Di VC USD G2 (A025)

Lens Type                       : G VR [6]
Lens                            : 70-200mm f/2.8
Lens Data Version               : 0204
Lens ID Number                  : 226
Lens F Stops                    : 5.92
Lens ID                         : Unknown (E2 47 5C 80 24 24 DF 4E)
Lens Spec                       : 70-200mm f/2.8 G VR [6]

Tamron SP 85mm F/1.8 Di VC USD (F016)

Lens Type                       : G VR [6]
Lens                            : 85mm f/1.8
Lens Data Version               : 0204
Lens ID Number                  : 229
Lens F Stops                    : 6.33
Lens ID                         : Unknown (E5 4C 62 62 14 14 C9 4E)
Lens Spec                       : 85mm f/1.8 G VR [6]

Hope this can help you ;-)
tks
Yves
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on June 15, 2019, 07:05:23 AM
Hi Yves,

Great, thanks!  I'll add these two lenses in ExifTool 11.52.

- Phil

Edit: The 70-200mm was already known, so only the 85mm was added.
Title: Re: Post your LensType / LensID discoveries here
Post by: sevy on June 17, 2019, 02:03:03 PM
Hello, I just discover this thread.
I'm now working with a Olympus E-M10 Mark III  and 2 lenses :
Olympus M.Zuiko Digital ED 14-42mm F3.5-5.6 EZ
Olympus M.Zuiko Digital ED 40-150mm F4.0-5.6 R

do you want some informations about thoses lenses (ie exiftool "-lens*" picture.jpg ?)
if I well understood  https://exiftool.org/TagNames/Olympus.html, you already have the info.
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on June 17, 2019, 04:21:44 PM
Thanks for the offer, but I only need to see any "Unknown" entries for the lens in the metadata that ExifTool extracts.  If you find any of these, tell me the camera make and exact lens name and I'll add it to the list.

It sounds like your lenses may already have definitions in ExifTool.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: bokesan on November 29, 2019, 04:44:50 AM
Here's the Nikon lens ID for the Yongnuo YN40mm F/2.8N: 9F 48 48 48 24 24 A1 06

- Chris
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on November 29, 2019, 07:22:26 AM
Hi Chris,

Thanks!

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: godspeedphoto on February 29, 2020, 12:25:11 PM
Hi Phil, just happened upon this thread, although i listed this recently int he bug forums

with exiftool 11.75, the "LUMIX G VARIO 35-100mm F2.8II" was listed in the composite lens id.  with version 11.81+, this lens is showing as a lens id (and lens type) of "unknown (2 34 10)

note, in 11.75, there is no composite tag of "lens type"
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on March 02, 2020, 07:22:27 AM
Thanks.  I'll add this lens to ExifTool 11.90.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: jr01001 on May 17, 2020, 02:03:34 PM
I've been inspecting the makers notes for a Panasonic Lumix G9 using CCR-Exif code provided by Chris Rollins. CCR-Exif uses a .INI file to decode most tags from the makers notes. Chris provides some known tag translations and your website provides many more. Here are the ones I've discovered for lens info:

[TPanasonicMakerNote.$00c4]
;see also Lens Type $0051
;this tag not valid for G1, GH3 or G7
;not reported correctly by 6K mode
TagDescription=Lens Type Make
0=Olympus
2=Panasonic

[TPanasonicMakerNote.$00c5]
;see also Lens Type $0051
;this tag not valid for G1, GH3 or G7
;not reported correctly by 6K mode
TagDescription=Lens Type Model
4100=OLYMPUS M.9-18mm F4.0-5.6
4102=LEICA DG MACRO-ELMARIT 45/F2.8
4117=LUMIX G VARIO 12-35/F2.8
4121=LUMIX G VARIO 14-140/F3.5-5.6 II
4135=LEICA DG 100-400/F4.0-6.3
4145=LUMIX G VARIO 45-200/F4.0-5.6II

Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on May 17, 2020, 08:59:14 PM
Great, thanks!  I'll add these as soon as I get a chance and post back here if I have any questions.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: mathieucarbou on May 30, 2020, 07:47:05 PM
Hi,
This Lens ID is missing in version 11.85

Sigma 135mm f/1.8 DG HSM Art Lens for Nikon F
MFR #240955

Partial output from exiftool -LensID  **/* | less :

======== SIGMA 135mm f1.8/SIGMA 135mm f1.8 590nm f11.NEF
Lens ID                         : Unknown (C4 4C 73 73 14 14 4B 46)
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on May 30, 2020, 08:03:13 PM
Thanks!
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on June 03, 2020, 10:51:22 AM
I've been inspecting the makers notes for a Panasonic Lumix G9 using CCR-Exif code provided by Chris Rollins. CCR-Exif uses a .INI file to decode most tags from the makers notes. Chris provides some known tag translations and your website provides many more. Here are the ones I've discovered for lens info:

[TPanasonicMakerNote.$00c4]
;see also Lens Type $0051
;this tag not valid for G1, GH3 or G7
;not reported correctly by 6K mode
TagDescription=Lens Type Make
0=Olympus
2=Panasonic

[TPanasonicMakerNote.$00c5]
;see also Lens Type $0051
;this tag not valid for G1, GH3 or G7
;not reported correctly by 6K mode
TagDescription=Lens Type Model
4100=OLYMPUS M.9-18mm F4.0-5.6
4102=LEICA DG MACRO-ELMARIT 45/F2.8
4117=LUMIX G VARIO 12-35/F2.8
4121=LUMIX G VARIO 14-140/F3.5-5.6 II
4135=LEICA DG 100-400/F4.0-6.3
4145=LUMIX G VARIO 45-200/F4.0-5.6II

I'm finally getting around to adding these.  ExifTool already had definitions for all of these but the last one.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: mathieucarbou on June 04, 2020, 08:27:56 PM
New lens data:

Lens ID                         : Unknown (C9 3C 44 76 25 31 DF 4E)

Tamron 35-150mm f/2.8-4 Di VC OSD Lens for Nikon F
MFR #AFA043N-700
https://www.bhphotovideo.com/c/product/1461482-REG/tamron_afa043n_700_35_150mm_f_2_8_4_di_vc.html?sts=pi&pim=Y
Title: Re: Post your LensType / LensID discoveries here
Post by: mathieucarbou on June 04, 2020, 08:30:26 PM
and another one:

Lens ID                         : Unknown (4A 58 30 30 14 0C 4D 02)

Rokinon 20mm f/1.8 ED AS UMC Lens for Nikon F
MFR #RK20MAF-N
https://www.bhphotovideo.com/c/product/1281557-REG/rokinon_rk20maf_n_20mm_f1_8_ed_umc.html?sts=pi&pim=Y



Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on June 04, 2020, 09:52:12 PM
Great, thanks!! I'll add these two to the next release.

- Phil
Title: Re: Post your LensType / LensID discoveries here
Post by: bng on August 29, 2020, 03:24:05 PM
Hello Phil!

Thanks dor great "project" exiftool :) Its great for me to run under synology to catalog infos about apertures , focal lengts, lenses - at leats for myself, for statistical knowledge ;)

My today finding is for
LensID                          : Unknown (7B 48 37 44 18 18 4B 06)

It's Sigma A 24-35 mm f/2.0 DG HSM under Nikon D600.

Thanks!
Title: Re: Post your LensType / LensID discoveries here
Post by: Phil Harvey on September 06, 2020, 07:03:34 AM
Great, thanks!  This will appear in ExifTool 12.06 when it is released.

- Phil