libheif
libheif is an HEIF and AVIF file format decoder and encoder.
Latest version: 1.23.4
Add to xmake.lua
add_requires("libheif 1.23.4")Learn how to add and link packages with Xmake →
Information
- License
- LGPL-3.0
- Recipe updated
- 2026-09-20T07:10:56.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64
- macosx: x86_64, arm64
- windows: x86, x64, arm, arm64, arm64ec
Options
aom_decoder- Build aom_decoder encoder/decoder. · Type: boolean · Default: false
aom_encoder- Build aom_encoder encoder/decoder. · Type: boolean · Default: false
dav1d- Build dav1d encoder/decoder. · Type: boolean · Default: false
kvazaar- Build kvazaar encoder/decoder. · Type: boolean · Default: false
libde265- Build libde265 encoder/decoder. · Type: boolean · Default: false
openh264_encoder- Build openh264_encoder encoder/decoder. · Type: boolean · Default: false
vvenc- Build vvenc encoder/decoder. · Type: boolean · Default: false
x265- Build x265 encoder/decoder. · Type: boolean · Default: false
Versions
- 1.12.0
- 1.17.6
- 1.18.0
- 1.18.2
- 1.20.2
- 1.21.0
- 1.21.1
- 1.21.2
- 1.22.0
- 1.22.2
- 1.23.0
- 1.23.1
- 1.23.4
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "libheif 1.23.4"show info
xrepo info "libheif"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("libheif 1.23.4")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("libheif")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "libheif 1.23.4" shell