cavif
PNG/JPEG to AVIF converter. More information: https://github.com/kornelski/cavif-rs.
-
Convert a JPEG file to AVIF:
cavif {{path/to/file.jpg}}
-
Adjust the image quality (1-100) and convert a PNG file to AVIF:
cavif --quality {{60}} {{path/to/file.png}}
-
Set the output location explicitly:
cavif {{path/to/file.jpg}} --output {{path/to/file.avif}}
-
Overwrite the destination file if it already exists:
cavif --overwrite {{path/to/file.jpg}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.