LinuxCommandLibrary

avifdec

Decode AVIF images to standard formats

TLDR

Decode AVIF to PNG

$ avifdec [input.avif] [output.png]
copy
Decode to JPEG
$ avifdec -c jpg [input.avif] [output.jpg]
copy
Show information only
$ avifdec --info [input.avif]
copy
Decode with specific depth
$ avifdec --depth [10] [input.avif] [output.png]
copy

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 format

Output format (png, jpg, y4m)
-q, --quality value
JPEG quality (1-100)
--depth bits
Bit depth for output
--info
Display image information only
--ignore-icc
Ignore ICC color profile
--ignore-exif
Ignore EXIF metadata
-i, --index n
Decode specific frame from animation

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community