6

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?

marcusstarnes
  • 6,393
  • 14
  • 65
  • 112
  • Does .Net libraries detail this information using System.Drawing.Image.PropertyItems? – CR41G14 Dec 05 '12 at 11:56
  • this could be a good starting point, http://stackoverflow.com/questions/2169444/how-can-i-read-the-exif-data-from-an-image-taken-with-an-apple-iphone – CR41G14 Dec 05 '12 at 11:59

2 Answers2

3

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.

marcusstarnes
  • 6,393
  • 14
  • 65
  • 112
0

Exiftool is amazing. However if you want a simple, native C# solution, try my MetadataExtractor.

Simon MᶜKenzie
  • 8,344
  • 13
  • 50
  • 77
Drew Noakes
  • 300,895
  • 165
  • 679
  • 742