LibHeifSharp 2.1.0

Install-Package LibHeifSharp -Version 2.1.0
dotnet add package LibHeifSharp --version 2.1.0
<PackageReference Include="LibHeifSharp" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LibHeifSharp --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LibHeifSharp, 2.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install LibHeifSharp as a Cake Addin
#addin nuget:?package=LibHeifSharp&version=2.1.0

// Install LibHeifSharp as a Cake Tool
#tool nuget:?package=LibHeifSharp&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Provides .NET bindings for libheif.


* Supports decoding
   * Top-level images
   * Thumbnails
   * Depth images
   * Vendor-specific auxiliary images
* Supports encoding
   *  Top-level images
   *  Thumbnails
* Supports reading and writing meta-data


The libheif shared library must be named `libheif` in order for it to be found by P/Invoke.

The minimum supported libheif version is 1.9.0.

  • .NETFramework 4.6

    • No dependencies.
  • .NETStandard 1.3

  • .NETStandard 2.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.0 1,647 5/20/2021
2.0.2 253 12/30/2020
2.0.1 195 11/25/2020
2.0.0 200 11/11/2020
1.0.0 206 10/21/2020

v2.1.0 - 2021-05-19


-   The ColorProfile property in the HeifImage class, use the
   IccColorProfile and NclxColorProfile properties instead.


-   A ValidValues property to the HeifIntegerEncoderParameter class.
   -   This is used to get the supported values for the rav1e tile-cols
       and tile-rows parameters.
   -   Requires LibHeif version 1.10 or later.
-   Support for the new encoding options in LibHeif versions 1.9.2, 1.10
   and 1.11.
-   Support for reading and writing images with two color profiles (one
   ICC profile and one NCLX profile).
   -   This feature requires LibHeif version 1.10 or later, you can use
       the CanWriteTwoColorProfiles property in the LibHeifInfo class
       for runtime checks.
   -   It must be enabled in the HeifEncodingOptions instance by
       setting the WriteTwoColorProfiles property to true.
-   Support for reading the vendor-specific auxiliary images.
   -   Added GetAuxiliaryImage, GetAuxiliaryImageIds and
       GetAuxiliaryType methods to the HeifImageHandle class.
   -   These methods require LibHeif version 1.11 or later.
-   An AuxiliaryImageType property to the HeifImageHandle class.


-   A corrupted image bug when using lossless encoding.
-   A few issues with the documentation.