Jump to content

Detect Lens Type from EXIF/IPTC Data?


wstotler

Recommended Posts

Advertisement (gone after registration)

Hi, all. Got one for you that I haven't seen an answer about. (Maybe there is an answer in the forum but I haven't seen it and some searching didn't find it--wrong searches, possibly.)

 

Problem

-----------

I want to sort my images based on lens from the EXIF (or IPTC) data.

 

Easiest way to sort is to use the Focal Length (50mm).

 

But. . . . I have a 50mm Summicron and a 50mm Elmar-M, both of which have an effective 50mm focal length.

 

 

Temporary Solution

---------------

To solve my immediate problem I filtered this way:

 

* Focal Length (35mm):

50.0mm

 

* Max Lens Aperture:

- 2.0 (Summicron)

- 3.0 (Elmar-M)

 

. . . This sorted my shots between these two lenses.

 

 

Question

------------

--> There may be a case where you can't count on the Max Lens Aperture to differentiate between lenses.

 

--> Is there another piece of data in the EXIF/IPTC somewhere (I didn't see it) that is a "proof positive" way of nailing the lens used?

 

Thanks!

Will

Link to post
Share on other sites

x

There is no lens type info in the standard M8 DNG's EXIF or IPTC data.

 

It is stored in the Leica MakerNotes, and CornerFix can decode those notes and update the "Lens Model" field of the EXIF data. So. e.g., you will then have "Tri-Elmar-M 16-18-21mm f/4 ASPH." in the metadata. However, that means running all you images through CornerFix.

 

Sandy

Link to post
Share on other sites

Yes, read this thread: http://www.l-camera-forum.com/leica-forum/leica-m8-forum/39117-secrets-blue-dot-revealed-other-m8.html

 

Note in particular Carl's PDF, and also what sandymc says about his CornerFix.

 

I use exiftools, and I can do e.g.

 

# exiftool -"LensType" L9990330.DNG

Lens Type : Apo-Summicron-M 75mm f/2 ASPH.; 50/75mm frame lines engaged

 

 

or, using the -b switch for binary format

 

# exiftool -b -"LensType" L9990330.DNG

36 3

 

Use the table for Tag ID 0310h in PDF p.19 to lookup the meaning of the binary output.

 

Regards

Per

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...