# The multimedia/libheif port

## libheif-1.21.2 – HEIF and AVIF file format decoder and encoder

## Description

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

    HEIF and AVIF are new image file formats employing HEVC (h.265) or
    AV1 image coding, respectively, for the best compression ratios
    currently possible.

    libheif makes use of libde265 for HEIF image decoding and x265 for
    encoding. For AVIF, libaom is used as encoder and decoder.
    Alternative codecs for, e.g., AVC and JPEG can be provided as
    plugins.

    The library has a C API for easy integration and wide language support.

WWW: https://github.com/strukturag/libheif

Only for arches
  aarch64 aarch64 alpha amd64 amd64 arm arm hppa i386 i386 mips64 mips64 mips64el mips64el powerpc powerpc powerpc64 powerpc64 riscv64 riscv64 sparc64
Categories:
  graphics multimedia

## Library dependencies

- STEM->=15,<16:lang/gcc/15,-libs
- graphics/gdk-pixbuf2
- graphics/jpeg
- graphics/libwebp
- graphics/png
- multimedia/aom
- multimedia/dav1d
- multimedia/libde265
- multimedia/openh264
- multimedia/x264
- multimedia/x265

## Build dependencies

- STEM->=15,<16:lang/gcc/15
- STEM->=15,<16:lang/gcc/15,-c++
- STEM->=4:devel/cmake/core
- devel/ninja

## Run dependencies