Files
tldr/pages.zh/common/pamstretch.md

13 lines
448 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# pamstretch
> 通过在像素之间插值来放大PAM图像。
> 另见: `pamstretch-gen`, `pamenlarge`, `pamscale`。
> 更多信息: <https://netpbm.sourceforge.net/doc/pamstretch.html>。
- 按整数因子放大PAM图像
`pamstretch {{N}} {{path/to/image.pam}} > {{path/to/output.pam}}`
- 按指定的水平和垂直方向因子放大PAM图像
`pamstretch -xscale {{XN}} -yscale {{YN}} {{path/to/image.pam}} > {{path/to/output.pam}}`