5

Preferably in VB.Net, but C# is fine, how can I access the extra properties added to a file by my digital camera, like Date Picture Taken, Shutter Speed or Camera Model?

Thomas Orlita
  • 1,554
  • 14
  • 28
Shane Miskin
  • 1,911
  • 2
  • 22
  • 30

4 Answers4

5

I maintain a library that offers comprehensive support for extracting image metadata from a variety of file formats.

https://github.com/drewnoakes/metadata-extractor-dotnet

Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
3

When I built something similar I used this article quite a bit. But basically you're looking for the EXIF data embedded in the image.

There are a number of great libraries to extract it for you, if you don't want to write it from scratch.

Xenph Yan
  • 83,019
  • 16
  • 48
  • 55
2

The following article should be helpful.

labilbe
  • 3,501
  • 2
  • 29
  • 34
1

You probably want to use the BitmapMetadata class in the System.Windows.Media.Imaging namespace.

There is a BitmapMetadata sample that can be downloaded from MSDN.

Eric Schoonover
  • 47,184
  • 49
  • 157
  • 202