Open Source HEIF Implementation

libheif is an open source implementation of the HEIF file format I am writing for Struktur AG. It provides a simple C API for easy integration into other software, but it also comes with a header-only C++ and Go interface. The library can also be compiled to JavaScript for use in client-side web code (see online demo: here).

libheif decodes all common types of HEIF files currently available. It also can generate HEIF files with HEVC coding. The decoder makes use of libde265 and for encoding, x265 is used.

The library is available as the libheif package in Debian and Ubuntu and has been integrated into:

The library also includes a thumbnailer for integration into the Gnome desktop.

More information on its github page.

.