Provides .NET bindings for libheif. Features: * Supports decoding * Top-level images * Thumbnails * Depth images * Vendor-specific auxiliary images * Supports encoding * Top-level images * Thumbnails * Supports reading and writing meta-data Requirements: The libheif shared library must be named `libheif` in order for it to be found by P/Invoke. On some platforms a DllImportResolver can be used to customize the loading of the `libheif` native library. See `LibHeifSharpDllImportResolver.cs` in the libheif-sharp-samples repository for an example of this. The minimum supported libheif version is 1.9.0.
$ dotnet add package LibHeifSharplibheif-sharp provides .NET bindings for libheif.
It is built against .NET Standard 2.0, and should work on any supported .NET platform that has a libheif shared library.
API Documentation
Building libheif on Windows with vcpkg
The libheif-sharp-samples repository contains sample applications that demonstrate the use of the library.
The libheif shared library must be named libheif in order for it to be found by P/Invoke.
On some platforms a DllImportResolver can be used to customize the loading of the libheif native library.
See LibHeifSharpDllImportResolver.cs in the libheif-sharp-samples repository for an example of this.
The minimum supported libheif version is 1.9.0.