0xC0000054 / libheif-sharp

Provides .NET bindings for libheif.
https://0xc0000054.github.io/libheif-sharp/
GNU Lesser General Public License v3.0
61 stars 3 forks source link
av1 avif csharp heic heif hevc libheif

libheif-sharp

NuGet version GitHub license

libheif-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.

Features

Documentation

API Documentation
Building libheif on Windows with vcpkg

Sample Applications

The libheif-sharp-samples repository contains sample applications that demonstrate the use of the library.

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.

License

This project is licensed under the terms of the GNU Lesser General Public License version 3.0.
See License.md for more information.