Search code examples
.netimagemetadatageotagging

Getting image metadata in .NET without regards to metadata format


Given a filename, I need to be able to access certain metadata in an image for a (closed source) project I'm currently developing, without regard to how the metadata is stored (that is, Exif, IPTC, or XMP). In particular, I want to access geotagging data.

Is there a way of doing this without requiring any third party assemblies or libraries (i.e. is it doable with stock Microsoft .NET) and how would it be done? Or am I stuck with a lot of P/Invoking of WIC?


Solution

  • Check the FreeImage project - a C++ image loading and processing that has .NET wrapper. perhaps it can do that