Main Menu

Lenses listing

Started by 11august, September 21, 2017, 09:00:54 AM

Previous topic - Next topic

11august

Hello all!

For Lenses listing purpose (whatever the make is), I've extracted what I thought to be the most useful and reliable informations off the metadata of a great bunch of photos, but I'm not sure if this is correct:

.\exiftool -r -csv K: >out.csv -LensID -FNumber -FocalLength -FocalLengthIn35mmFormat -MinFocalLength -MaxFocalLength -Make -CameraModelName

Indeed, I was thinking about some other specific tags such as: "FocalLength35efl" or "LensModel"...

What are your advices for this list to be the most possible complete, exploitable and efficient?

Thank you! :)
Co-author and developper of the GEIPAN groupe image analysis software IPACO, part of the French Space Agency CNES

Phil Harvey

FocalLength35efl is should be available for more images than FocalLengthIn35mmFormat, but may not be accurate (particularly if the image has been resized) if FocalLengthIn35mmFormat doesn't exist.

Use "Model", not "CameraModelName".

MinFocalLength and MaxFocalLength are only available for some models from a few select Makes (Canon, FujiFilm, Nikon, Olympus, Sony).  LensInfo is maybe a more general tag containing this information.

For images edited by Photoshop, you might want to include Lens.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).