add new chinese translations
This commit is contained in:
24
pages.zh/common/pamscale.md
Normal file
24
pages.zh/common/pamscale.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# pamscale
|
||||
|
||||
> 缩放 Netpbm 图像。
|
||||
> 更多信息:<https://netpbm.sourceforge.net/doc/pamscale.html>。
|
||||
|
||||
- 缩放图像,使得结果具有指定的尺寸:
|
||||
|
||||
`pamscale -width {{width}} -height {{height}} {{path/to/input.pam}} > {{path/to/output.pam}}`
|
||||
|
||||
- 缩放图像,使得结果具有指定的宽度,同时保持纵横比:
|
||||
|
||||
`pamscale -width {{width}} {{path/to/input.pam}} > {{path/to/output.pam}}`
|
||||
|
||||
- 缩放图像,使其宽度和高度按指定的因子变化:
|
||||
|
||||
`pamscale -xscale {{x_factor}} -yscale {{y_factor}} {{path/to/input.pam}} > {{path/to/output.pam}}`
|
||||
|
||||
- 缩放图像,使其适合指定的边界框,同时保持纵横比:
|
||||
|
||||
`pamscale -xyfit {{bbox_width}} {{bbox_height}} {{path/to/input.pam}} > {{path/to/output.pam}}`
|
||||
|
||||
- 缩放图像,使其完全填充指定的框,同时保持纵横比:
|
||||
|
||||
`pamscale -xyfill {{box_width}} {{box_height}} {{path/to/input.pam}} > {{path/to/output.pam}}`
|
Reference in New Issue
Block a user