macOS
brew install libheiflocal Homebrew formula metadata
sudo port install libheifMacPorts ports tree · multimedia/libheif/Portfile · source: api.github.com
brew
ISO/IEC 23008-12:2017 HEIF file format decoder and encoder. Version 1.23.1 via Homebrew; verified 2026-06-26.
install
brew install libheiflocal Homebrew formula metadata
sudo port install libheifMacPorts ports tree · multimedia/libheif/Portfile · source: api.github.com
sudo apk add heif-thumbnailerAlpine Linux edge package indexes · heif-thumbnailer · source: dl-cdn.alpinelinux.org
sudo apt install heif-gdk-pixbufDebian stable package indexes · heif-gdk-pixbuf · source: deb.debian.org
sudo dnf install libheifFedora Rawhide package metadata · libheif · source: dl.fedoraproject.org
nix profile install nixpkgs#libheifnixpkgs package indexes · pkgs/by-name/li/libheif/package.nix · source: api.github.com
sudo pacman -S libheifArch Linux sync databases · libheif · source: geo.mirror.pkgbuild.com
sudo zypper install gdk-pixbuf-loader-libheifopenSUSE Tumbleweed package metadata · gdk-pixbuf-loader-libheif · source: download.opensuse.org
overview
ISO/IEC 23008-12:2017 HEIF file format decoder and encoder
history
libheif is a C/C++ library and set of command-line tools for HEIF-family still-image formats. Its package-manager value comes from sitting at the awkward but important boundary between container formats, patent-heavy video codecs, and desktop image tooling.
The project is associated with Struktur AG and Dirk Farin, and the public repository describes it as an ISO/IEC 23008-12 HEIF and AVIF file-format decoder and encoder.
The v1.0.0 release in February 2018 was billed as the first still-image decoder release and already covered HEIF features such as tiled images, alpha channels, thumbnails, EXIF/XMP metadata, depth channels, multiple images, image transformations, and overlays.
The v1.7.0 release in June 2020 added AVIF reading and writing through libaom and described a plugin architecture that let encoders reuse HEIF infrastructure while selecting AV1 compression.
The v1.12.0 release in May 2021 added MIAF conformance handling, premultiplied-alpha signaling, AV1 sequence-header parsing for the av1C box, and AVIF pixi-box writing. The v1.22.0 release in May 2026 broadened the library toward generic image components and a reworked ISO/IEC 23001-17 lossless-image codec implementation.
libheif became a common Unix package because it gave image applications and shell workflows a reusable way to read HEIC files from Apple-oriented ecosystems and AVIF files from web-image ecosystems without each application implementing the container stack itself.
Homebrew ships it with user-facing tools such as heif-convert, heif-enc, heif-dec, heif-info, and heif-thumbnailer, which made it useful both as a library dependency and as a command-line conversion utility.
Typical package use is format conversion, image inspection, thumbnail generation, and linking higher-level image software against a shared HEIF/AVIF implementation. Codec details are delegated to companion libraries or plugins such as libaom for AV1 support.
libheif matters to packagers because the visible package is small, but its usefulness depends on codec policy, optional dependencies, plugin choices, and file-format brands. It is the sort of package where build options decide whether users get HEIC-only, AVIF-capable, or broader modern-image support.
It also marks the shift from classic single-image formats toward containerized image formats that carry auxiliary images, metadata, sequences, depth, alpha, HDR, and codec-specific boxes.
security posture
No matching local secret-handling manifest was found for libheif. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
heif-convert | cli | global executable | |
heif-dec | cli | global executable | |
heif-enc | cli | global executable | |
heif-info | cli | global executable | |
heif-thumbnailer | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/strukturag/libheif
install metadata
| Package key | brew:libheif |
|---|---|
| Version | 1.23.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libheif |
| Homepage | https://www.libde265.org/ |
| Repository | https://github.com/strukturag/libheif |
| Upstream docs | https://github.com/strukturag/libheif#readme |
| License | LGPL-3.0-or-later |
| Source archive | https://github.com/strukturag/libheif/releases/download/v1.23.1/libheif-1.23.1.tar.gz |
| Last updated | 2026-06-26T12:52:58Z |
| Pulse | updated |
| Dependencies | aom, jpeg-turbo, libde265, libpng, libtiff, webp, x265 |
| Build dependencies | cmake, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | Additional codecs can be enabled by `brew install libheif-plugins` |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libheif |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
heif-gdk-pixbuf 1.19.8-1
HEIF and AVIF file format decoder and encoder - gdk-pixbuf loader
sudo apt install heif-gdk-pixbufheif-thumbnailer 1.19.8-1
HEIF and AVIF file format decoder and encoder - thumbnailer
sudo apt install heif-thumbnailerlibheif-dev 1.19.8-1
HEIF and AVIF file format decoder and encoder - development files
sudo apt install libheif-devlibheif-examples 1.19.8-1
HEIF and AVIF file format decoder and encoder - examples
sudo apt install libheif-exampleslibheif-plugin-aomdec 1.19.8-1
HEIF and AVIF file format decoder and encoder - aomdec plugin
sudo apt install libheif-plugin-aomdeclibheif-plugin-aomenc 1.19.8-1
HEIF and AVIF file format decoder and encoder - aomenc plugin
sudo apt install libheif-plugin-aomenclibheif-plugin-dav1d 1.19.8-1
HEIF and AVIF file format decoder and encoder - dav1d plugin
sudo apt install libheif-plugin-dav1dlibheif-plugin-ffmpegdec 1.19.8-1
HEIF and AVIF file format decoder and encoder - ffmpegdec plugin
sudo apt install libheif-plugin-ffmpegdeclibheif-plugin-j2kdec 1.19.8-1
HEIF and AVIF file format decoder and encoder - j2kdec plugin
sudo apt install libheif-plugin-j2kdeclibheif-plugin-j2kenc 1.19.8-1
HEIF and AVIF file format decoder and encoder - j2kenc plugin
sudo apt install libheif-plugin-j2kenclibheif-plugin-jpegdec 1.19.8-1
HEIF and AVIF file format decoder and encoder - jpegdec plugin
sudo apt install libheif-plugin-jpegdeclibheif-plugin-jpegenc 1.19.8-1
HEIF and AVIF file format decoder and encoder - jpegenc plugin
sudo apt install libheif-plugin-jpegenclibheif-plugin-kvazaar 1.19.8-1
HEIF and AVIF file format decoder and encoder - kvazaar plugin
sudo apt install libheif-plugin-kvazaarlibheif-plugin-libde265 1.19.8-1
HEIF and AVIF file format decoder and encoder - libde265 plugin
sudo apt install libheif-plugin-libde265libheif-plugin-rav1e 1.19.8-1
HEIF and AVIF file format decoder and encoder - rav1e plugin
sudo apt install libheif-plugin-rav1elibheif-plugin-svtenc 1.19.8-1
HEIF and AVIF file format decoder and encoder - svtenc plugin
sudo apt install libheif-plugin-svtencsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.