Files
tldr/pages/common/cavif.md
Vitor Henrique d79a1667e3 pages*: refine wording (#12132)
* pages*: refine wording

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-02-09 19:25:36 +05:30

534 B

cavif

PNG/JPEG to AVIF converter. Written in Rust. See also: convert. More information: https://github.com/kornelski/cavif-rs.

  • Convert a JPEG file to AVIF, saving it to file.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}}

  • Specify the output location:

cavif {{path/to/file.jpg}} --output {{path/to/file.avif}}

  • Overwrite the destination file if it already exists:

cavif --overwrite {{path/to/file.jpg}}