From ac3d26fbe7866a0240b279fc44fe558528db2a53 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sun, 9 Jul 2023 02:15:23 +0200 Subject: [PATCH] cavif: add page (#10468) Co-authored-by: K.B.Dharun Krishna --- pages/common/cavif.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/cavif.md diff --git a/pages/common/cavif.md b/pages/common/cavif.md new file mode 100644 index 0000000000..d16b36c7f2 --- /dev/null +++ b/pages/common/cavif.md @@ -0,0 +1,20 @@ +# cavif + +> PNG/JPEG to AVIF converter. +> More information: . + +- 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}}`