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

16 lines
541 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.

# pnmtops
> 将PNM图像转换为PostScript文件。
> 更多信息:<https://netpbm.sourceforge.net/doc/pnmtops.html>。
- 将PNM图像转换为PS文件
`pnmtops {{path/to/file.pnm}} > {{path/to/file.ps}}`
- 指定输出图像的尺寸(以英寸为单位):
`pnmtops -imagewidth {{imagewidth}} -imageheight {{imageheight}} {{path/to/file.pnm}} > {{path/to/file.ps}}`
- 指定输出图像所在页面的尺寸(以英寸为单位):
`pnmtops -width {{width}} -height {{height}} {{path/to/file.pnm}} > {{path/to/file.ps}}`