Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libheif

查看 libheif 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libheif

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libheif

MacPorts ports tree · multimedia/libheif/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libheif

Alpine Linux edge package indexes · libheif · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install libheif

Fedora Rawhide package metadata · libheif · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libheif

nixpkgs package indexes · pkgs/by-name/li/libheif/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S libheif

Arch Linux sync databases · libheif · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install heif-gdk-pixbuf

Debian stable package indexes · heif-gdk-pixbuf · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install gdk-pixbuf-loader-libheif

openSUSE Tumbleweed package metadata · gdk-pixbuf-loader-libheif · 来源: download.opensuse.org

概览

软件包摘要

ISO/IEC 23008-12:2017 HEIF file format decoder and encoder

命令和别名

  • heif-convert
  • heif-dec
  • heif-enc
  • heif-info
  • heif-thumbnailer

历史

项目历史与用法

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.

时间线

  • 2018: v1.0.0 released as the first still-image decoder release.
  • 2020: v1.7.0 added AVIF reading and writing through libaom.
  • 2021: v1.12.0 added MIAF conformance and AVIF metadata refinements.
  • 2026: v1.22.0 expanded generic image components and ISO/IEC 23001-17 lossless-image support.

Related projects

  • libde265 and x265 are closely related through HEVC/HEIC workflows.
  • libaom and other AV1 codec projects are related through AVIF encoding and decoding.
  • ImageMagick, GIMP, thumbnailers, and desktop file managers are typical downstream consumers of HEIF/AVIF libraries.

安全态势

尚未找到受保护工具覆盖

没有找到 libheif 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 7 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
heif-convertcli全局可执行文件
heif-deccli全局可执行文件
heif-enccli全局可执行文件
heif-infocli全局可执行文件
heif-thumbnailercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.23.1
管理器更新时间2026-06-26
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/strukturag/libheif

安装元数据

软件包元数据

软件包键brew:libheif
版本1.23.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libheif
主页https://www.libde265.org/
仓库https://github.com/strukturag/libheif
上游文档https://github.com/strukturag/libheif#readme
许可证LGPL-3.0-or-later
源码归档https://github.com/strukturag/libheif/releases/download/v1.23.1/libheif-1.23.1.tar.gz
最后更新2026-06-26T12:52:58Z
Pulseupdated
依赖aom, jpeg-turbo, libde265, libpng, libtiff, webp, x265
构建依赖cmake, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项Additional codecs can be enabled by `brew install libheif-plugins`

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibheif
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

heif-gdk-pixbuf 1.19.8-1

HEIF and AVIF file format decoder and encoder - gdk-pixbuf loader

http://www.libheif.org

sudo apt install heif-gdk-pixbuf
  • Section: graphics
  • Architecture: amd64
  • Source Package: libheif
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: heif-gdk-pixbuf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

heif-thumbnailer 1.19.8-1

HEIF and AVIF file format decoder and encoder - thumbnailer

http://www.libheif.org

sudo apt install heif-thumbnailer
  • Section: graphics
  • Architecture: amd64
  • Source Package: libheif
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: heif-thumbnailer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-dev 1.19.8-1

HEIF and AVIF file format decoder and encoder - development files

http://www.libheif.org

sudo apt install libheif-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libheif
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-examples 1.19.8-1

HEIF and AVIF file format decoder and encoder - examples

http://www.libheif.org

sudo apt install libheif-examples
  • Section: video
  • Architecture: amd64
  • Source Package: libheif
  • 7 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-aomdec 1.19.8-1

HEIF and AVIF file format decoder and encoder - aomdec plugin

http://www.libheif.org

sudo apt install libheif-plugin-aomdec
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-aomdec from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-aomenc 1.19.8-1

HEIF and AVIF file format decoder and encoder - aomenc plugin

http://www.libheif.org

sudo apt install libheif-plugin-aomenc
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-aomenc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-dav1d 1.19.8-1

HEIF and AVIF file format decoder and encoder - dav1d plugin

http://www.libheif.org

sudo apt install libheif-plugin-dav1d
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-dav1d from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-ffmpegdec 1.19.8-1

HEIF and AVIF file format decoder and encoder - ffmpegdec plugin

http://www.libheif.org

sudo apt install libheif-plugin-ffmpegdec
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 6 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-ffmpegdec from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-j2kdec 1.19.8-1

HEIF and AVIF file format decoder and encoder - j2kdec plugin

http://www.libheif.org

sudo apt install libheif-plugin-j2kdec
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-j2kdec from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-j2kenc 1.19.8-1

HEIF and AVIF file format decoder and encoder - j2kenc plugin

http://www.libheif.org

sudo apt install libheif-plugin-j2kenc
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-j2kenc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-jpegdec 1.19.8-1

HEIF and AVIF file format decoder and encoder - jpegdec plugin

http://www.libheif.org

sudo apt install libheif-plugin-jpegdec
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-jpegdec from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-jpegenc 1.19.8-1

HEIF and AVIF file format decoder and encoder - jpegenc plugin

http://www.libheif.org

sudo apt install libheif-plugin-jpegenc
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 4 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-jpegenc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-kvazaar 1.19.8-1

HEIF and AVIF file format decoder and encoder - kvazaar plugin

http://www.libheif.org

sudo apt install libheif-plugin-kvazaar
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-kvazaar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-libde265 1.19.8-1

HEIF and AVIF file format decoder and encoder - libde265 plugin

http://www.libheif.org

sudo apt install libheif-plugin-libde265
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-libde265 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-rav1e 1.19.8-1

HEIF and AVIF file format decoder and encoder - rav1e plugin

http://www.libheif.org

sudo apt install libheif-plugin-rav1e
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-rav1e from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libheif-plugin-svtenc 1.19.8-1

HEIF and AVIF file format decoder and encoder - svtenc plugin

http://www.libheif.org

sudo apt install libheif-plugin-svtenc
  • Section: libs
  • Architecture: amd64
  • Source Package: libheif
  • 5 依赖
  • normalized package name match
  • 匹配方式:Libheif
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libheif-plugin-svtenc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment