1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 00:42:08 +02:00
tldr/pages/common/cwebp.md
Kirill Stryaponov 3e8b075813
cwebp: add page (#7722)
* cwebp: add page

* cwebp: add russian translation

* cwebp: update descriptions

* cwebp: update Russian translation

* cwebp: add period to command description

* cwebp: add period to command description in Russian translation

* Update pages.ru/common/cwebp.md

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* Update pages.ru/common/cwebp.md

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* Update pages.ru/common/cwebp.md

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* Update pages.ru/common/cwebp.md

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>

* Update pages/common/cwebp.md

Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>

* Update pages/common/cwebp.md

Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>

* Update pages/common/cwebp.md

Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>

* Apply suggestions from code review

Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>

* cwebp: update Russian translation

Co-authored-by: Emily Grace Seville <emilyseville7cf@gmail.com>
Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
2022-02-01 19:05:01 +10:00

24 lines
810 B
Markdown

# cwebp
> Compress an image file to a WebP file.
> More information: <https://developers.google.com/speed/webp/docs/cwebp>.
- Compress a WebP file with default settings (q = 75) to the [o]utput file:
`cwebp {{path/to/image_file}} -o {{path/to/output.webp}}`
- Compress a WebP file with the best [q]uality and largest file size:
`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -q {{100}}`
- Compress a WebP file with the worst [q]uality and smallest file size:
`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -q {{0}}`
- Compress a WebP file and apply resize to image:
`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -resize {{width}} {{height}}`
- Compress a WebP file and drop alpha channel information:
`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -noalpha`