Search code examples
c#imagejpegexif

C# library to extract Lens Make/Model from EXIF data in JPG images


I need to extract the following pieces of information from any jpg that is uploaded to a website:

  • Aperture
  • Focal Length
  • ISO Setting
  • Camera Make/Model
  • Lens Make/Model

I'm not worried about all of the other EXIF data that is contained within images. I have used an old library in the past which has got the first 4 items in that list without a problem, but I've not located one yet that can get the Lens Make & Model.

Does anyone know of a library that I can use within my ASP.NET MVC C# project that handles all of the above?


Solution

  • I've now located a C# wrapper for EXIFTOOL by Phil Harvey, which extracts all the information I need (and then some!). The C# wrapper, written by Willem Semmelink is here.