Skip to content

Library for reading EXIF data from files in JPG and TIFF formats. Written in .NET Standard 2

License

Notifications You must be signed in to change notification settings

andersonpereiradossantos/dotnet-exif-photo-reader

Repository files navigation

C# .NET - Exif Photo Reader

NPM nuget Donwloads

Logo EXIF Photo Reader

About code

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.

Install

On Nuget:

PM> Install-Package ExifPhotoReader

.NET CLI

> dotnet add package ExifPhotoReader

NuGet

https://www.nuget.org/packages/ExifPhotoReader

Using

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

Examples of usage

.NET Core MVC

License

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 ⭐️.

Author

Anderson Pereira dos Santos

Linkedin

Github

About

Library for reading EXIF data from files in JPG and TIFF formats. Written in .NET Standard 2

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages