ExifLibNet.Updated 2.1.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package ExifLibNet.Updated --version 2.1.4                
NuGet\Install-Package ExifLibNet.Updated -Version 2.1.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ExifLibNet.Updated" Version="2.1.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ExifLibNet.Updated --version 2.1.4                
#r "nuget: ExifLibNet.Updated, 2.1.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ExifLibNet.Updated as a Cake Addin
#addin nuget:?package=ExifLibNet.Updated&version=2.1.4

// Install ExifLibNet.Updated as a Cake Tool
#tool nuget:?package=ExifLibNet.Updated&version=2.1.4                

License Nuget

This is an updated fork of ExifLibrary, a .Net Standard and .NET library for editing Exif metadata contained in image files.
It mainly removes the dependency on netstandard1.3 to avoid pulling in loads of dependencies and has merged a PR for better DateTime parsing.

Installation

If you are using NuGet you can install it with:

PM> Install-Package ExifLibNet.Updated

Quick Start

To read an image file and extract metadata:

var file = ImageFile.FromFile("path_to_image");

// the type of the ISO speed rating tag value is unsigned short
// see documentation for tag data types
var isoTag = file.Properties.Get<ExifUShort>(ExifTag.ISOSpeedRatings);

// the flash tag's value is an enum
var flashTag = file.Properties.Get<ExifEnumProperty<Flash>>(ExifTag.Flash);

// GPS latitude is a custom type with three rational values
// representing degrees/minutes/seconds of the latitude 
var latTag = file.Properties.Get<GPSLatitudeLongitude>(ExifTag.GPSLatitude);

To add metadata:

var file = ImageFile.FromFile("path_to_image");
// note the explicit cast to ushort
file.Properties.Set(ExifTag.ISOSpeedRatings, <ushort>200);

//for pngs
var pngText = new PngText(ExifTag.PNGTagName, ...)
file.Properties.Set(pngText)

To save the image with metadata:

file.Save("path_to_image");

Documentation

Please visit: http://oozcitak.github.io/exiflibrary/

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.5 16 1/8/2025
2.1.4 20 1/8/2025