mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
cavif: add page (#10468)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
f1dd9de886
commit
ac3d26fbe7
1 changed files with 20 additions and 0 deletions
20
pages/common/cavif.md
Normal file
20
pages/common/cavif.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue