Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i read EXIF data in AspNet.Core

What's the best way to read EXIF info of a picture in Asp.Net Core. I am using ImageProcessorCore alpha from myget to rotate pictures but i haven't found a way to read exif data is there a in library way of doing this?

like image 876
Dživo Jelić Avatar asked Jul 21 '16 13:07

Dživo Jelić


People also ask

What does EXIF data tell you?

EXIF data (also sometimes referred to as metadata) contains information such as aperture, shutter speed, ISO, focal length, camera model, date the photo was taken and much more. You can also include copyright information in your EXIF data when you register your camera through the manufacturer.


2 Answers

The lightweight ExifLib has now been ported to .net Standard/.net Core.

I have confirmed it also works on Linux.

https://www.nuget.org/packages/ExifLib.Standard/

like image 76
Doug S Avatar answered Oct 12 '22 13:10

Doug S


I was able to find a library that reads exif info and it is available for .net core i am using it in my Asp.Net Core.

https://magick.codeplex.com/wikipage?title=Exif%20data&referringTitle=Documentation

This also looks like a good imaging library but i haven't tried it yet Cheers to the creators.

like image 31
Dživo Jelić Avatar answered Oct 12 '22 12:10

Dživo Jelić