LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

avifdec

Decode AVIF images to standard formats

TLDR

Decode AVIF to PNG
$ avifdec [input.avif] [output.png]
copy
Decode to JPEG with specific quality
$ avifdec -q [85] [input.avif] [output.jpg]
copy
Show image information only
$ avifdec -i [input.avif]
copy
Decode with 16-bit depth (PNG only)
$ avifdec -d 16 [input.avif] [output.png]
copy
Decode using multiple threads
$ avifdec -j [4] [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

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

INSTALL

sudo apt install libavif-bin
copy
sudo apk add libavif-apps
copy

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid