avifdec
Decode AVIF images to standard formats
TLDR
SYNOPSIS
avifdec [options] input.avif output
DESCRIPTION
avifdec decodes AVIF (AV1 Image File Format) images to standard formats like PNG, JPEG, or Y4M. AVIF is a modern image format offering superior compression and quality compared to JPEG.The tool is part of libavif and enables viewing and converting AVIF images to more widely supported formats.
PARAMETERS
-c codec
AV1 codec to use (aom, dav1d, libgav1). Default: auto-selected from available codecs-d depth
Output bit depth, 8 or 16 (PNG only; JPEG is always 8bpc)-q quality
Output JPEG quality, 0-100 (default: 90)-j jobs
Number of worker threads, or 'all' for all cores (default: all)-i, --info
Display image information instead of saving to disk--png-compress level
PNG compression level, 0-9 (0=none, 9=max)--chroma-upsampling mode
Chroma upsampling for 420/422: automatic, fastest, best, nearest, bilinear (default: automatic)--ignore-icc
Ignore embedded ICC color profile--index n
Decode specific frame index, or 'all' for every frame (default: 0)--no-strict
Disable strict validation checks-r
Output raw RGB values instead of premultiplying by alpha
FEATURES
- HDR support (10-bit, 12-bit)- Wide color gamut- ICC profile preservation- EXIF metadata extraction- Animation frame selection
CAVEATS
Output format support depends on compile-time options. Large images may consume significant memory. HDR content may not display correctly in non-HDR-aware viewers.
HISTORY
avifdec was developed as part of libavif by Joe Drago and the Alliance for Open Media, released around 2019 to support the new AVIF format standardized by AOM.
SEE ALSO
avifenc(1), imagemagick(1), convert(1)
