From 72edb925d314e5e5be05cea90440edc80d6f4626 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Thu, 15 Feb 2024 03:37:52 -0300 Subject: [PATCH] cavif: improve page (#12274) --- pages/common/cavif.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/common/cavif.md b/pages/common/cavif.md index 5b628989b..5a121efe4 100644 --- a/pages/common/cavif.md +++ b/pages/common/cavif.md @@ -1,21 +1,21 @@ # cavif -> PNG/JPEG to AVIF converter. Written in Rust. +> Convert PNG/JPEG images to AVIF. Written in Rust. > See also: `convert`. > More information: . - Convert a JPEG file to AVIF, saving it to `file.avif`: -`cavif {{path/to/file.jpg}}` +`cavif {{path/to/image.jpg}}` -- Adjust the image quality (1-100) and convert a PNG file to AVIF: +- Adjust the image quality and convert a PNG file to AVIF: -`cavif --quality {{60}} {{path/to/file.png}}` +`cavif --quality {{1..100}} {{path/to/image.png}}` - Specify the output location: -`cavif {{path/to/file.jpg}} --output {{path/to/file.avif}}` +`cavif {{path/to/image.jpg}} --output {{path/to/output.avif}}` - Overwrite the destination file if it already exists: -`cavif --overwrite {{path/to/file.jpg}}` +`cavif --overwrite {{path/to/image.jpg}}`