add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

24
pages.zh/common/cwebp.md Normal file
View File

@@ -0,0 +1,24 @@
# cwebp
> 将图像文件压缩为 WebP 文件。
> 更多信息:<https://developers.google.com/speed/webp/docs/cwebp>。
- 使用默认设置q = 75压缩 WebP 文件到 [o]utput 文件:
`cwebp {{path/to/image_file}} -o {{path/to/output.webp}}`
- 以最佳 [q]uality 和最大文件大小压缩 WebP 文件:
`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -q {{100}}`
- 以最差 [q]uality 和最小文件大小压缩 WebP 文件:
`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -q {{0}}`
- 压缩 WebP 文件并调整图像大小:
`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -resize {{width}} {{height}}`
- 压缩 WebP 文件并去除 alpha 通道信息:
`cwebp {{path/to/image_file}} -o {{path/to/output.webp}} -noalpha`