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

21
pages.zh/common/pnmpad.md Normal file
View File

@@ -0,0 +1,21 @@
# pnmpad
> 为 PNM 图像添加边框。
> 另见:`pnmmargin`、`pamcut`、`pamcomp`。
> 更多信息:<https://netpbm.sourceforge.net/doc/pnmpad.html>。
- 向图像添加指定大小的边框:
`pnmpad -left {{100}} -right {{150}} -top {{123}} -bottom {{456}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`
- 将图像填充到指定大小:
`pnmpad -width {{1000}} -height {{500}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`
- 将图像的宽度填充到指定大小,控制左右填充的比例:
`pnmpad -width {{1000}} -halign {{0.7}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`
- 使用指定颜色填充图像的宽度:
`pnmpad -width {{1000}} -color {{red}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`