Library for reading EXIF data from files in JPG and TIFF formats. Written in .NET Standard 2. This library makes use of System.Drawing.Common
already included in the package.
On Nuget:
PM> Install-Package ExifPhotoReader
.NET CLI
> dotnet add package ExifPhotoReader
https://www.nuget.org/packages/ExifPhotoReader
Import in your class
using ExifPhotoReader;
Get EXIF data from an image via a path:
ExifImageProperties exifImage = ExifPhoto.GetExifDataPhoto("c:\\fakepath.jpg");
Get EXIF data from an image through a Bitmap object:
Image file = new Bitmap("C:\\fakepath.jpg");
ExifImageProperties exifImage = ExifPhoto.GetExifDataPhoto(file);
Get specific EXIF tag of an image:
exifImage.Orientation;
//Output: Horizontal
Exif Photo Reader is shared under the MIT license. This means you can modify and use it however you want, even for comercial use. If you liked it, consider marking a ⭐️.
Anderson Pereira dos Santos