libheif-1.20.2

Introduction à libheif

The libheif package is an HEIF and AVIF file format decoder and encoder.

[Note]

Note

Les versions de développement de BLFS peuvent ne pas arriver à contruire ou à exécuter certains paquets correctement si LFS ou des dépendances ont été mises à jour depuis la dernière version stable des livres.

Informations sur le paquet

Dépendances de libheif

Recommandées

libaom-3.13.1, libde265-1.0.16, and x265-4.1

Facultatives

Brotli-1.2.0, dav1d-1.5.1, Doxygen-1.15.0, FFmpeg-7.1.2, gdk-pixbuf-2.44.2, libjpeg-turbo-3.0.1, libpng-1.6.50, libtiff-4.7.1, libwebp-1.6.0, OpenJPEG-2.5.4, SDL2-2.32.10, SVT-AV1-3.1.2, kvaaar, openh264, openjph, uvg266, vvdec, vvenc, and rav1e

Installation de libheif

Installez libheif en exécutant les commandes suivantes :

mkdir build &&
cd    build &&

cmake -D CMAKE_INSTALL_PREFIX=/usr \
      -D CMAKE_BUILD_TYPE=Release  \
      -G Ninja ..
ninja

Pour tester les résultats lancez : ninja test.

Maintenant, en tant qu'utilisateur root :

ninja install

Explication des commandes

-D DAV1D=ON: This option allows using dav1d-1.5.1 to decode AV1 data in AVIF files.

-D FFMPEG_DECODER=ON: This option allows using FFmpeg-7.1.2 to decode H.265 data in HEIC files.

-D JPEG_DECODER=ON -D JPEG_ENCODER=ON: These options allow using libjpeg-turbo-3.0.1 to encode and decode HEIF files with JPEG data.

-D OpenJPEG_ENCODER=ON -D OpenJPEG_DECODER=ON: These options allow using OpenJPEG-2.5.4 to encode and decode HEIF files with JPEG 2000 data.

-D SvtEnc=ON: This option allows using SVT-AV1-3.1.2 to encode AV1 data for AVIF files.

Contenu

Programmes installés: heif-convert (symlink to heif-dec), heif-dec, heif-enc, heif-info, heif-thumbnailer (if libpng is available), and heif-view (if SDL2 is available)
Bibliothèque installée: libheif.so
Répertoire installé: /usr/include/libheif, /usr/lib/cmake/libheif, and /usr/lib/cmake/libheif

Descriptions courtes

heif-dec

decodes HEIC/HEIF image

heif-enc

converts image to HEIC/HEIF

heif-info

shows information on HEIC/HEIF file

heif-thumbnailer

creates thumbnails from HEIC/HEIF files

heif-view

displays image in HEIC/HEIF format with SDL2

libheif.so

is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File Format) file format decoder and encoder