mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-05 03:56:25 +03:00
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>
This commit is contained in:
parent
02a843bea8
commit
3e8b075813
24
pages.ru/common/cwebp.md
Normal file
24
pages.ru/common/cwebp.md
Normal file
@ -0,0 +1,24 @@
|
||||
# cwebp
|
||||
|
||||
> Сжимает файл изображения в формат WebP.
|
||||
> Больше информации: <https://developers.google.com/speed/webp/docs/cwebp>.
|
||||
|
||||
- Сжать WebP со стандартными настройками (q = 75) с сохранением в выходной файл:
|
||||
|
||||
`cwebp {{путь/к/изображению}} -o {{путь/к/результату.webp}}`
|
||||
|
||||
- Сжать WebP с наилучшим качеством и наибольшим размером файла:
|
||||
|
||||
`cwebp {{путь/к/изображению}} -o {{путь/к/результату.webp}} -q {{100}}`
|
||||
|
||||
- Сжать WebP с наихудшим качеством и наименьшим размером файла:
|
||||
|
||||
`cwebp {{путь/к/изображению}} -o {{путь/к/результату.webp}} -q {{0}}`
|
||||
|
||||
- Сжать WebP с изменением размера изображения:
|
||||
|
||||
`cwebp {{путь/к/изображению}} -o {{путь/к/результату.webp}} -resize {{width}} {{height}}`
|
||||
|
||||
- Сжать WebP с удалением информации о прозрачности:
|
||||
|
||||
`cwebp {{путь/к/изображению}} -o {{путь/к/результату.webp}} -noalpha`
|
24
pages/common/cwebp.md
Normal file
24
pages/common/cwebp.md
Normal file
@ -0,0 +1,24 @@
|
||||
# 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`
|
Loading…
Reference in New Issue
Block a user