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

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

# pstopnm
> 将 PostScript 文件转换为 PNM 图像。
> 更多信息:<https://netpbm.sourceforge.net/doc/pstopnm.html>。
- 将 PS 文件转换为 PNM 图像,将输入的第 N 页存储到 `path/to/fileN.ppm`
`pstopnm {{path/to/file.ps}}`
- 明确指定输出格式:
`pstopnm -{{pbm|pgm|ppm}} {{path/to/file.ps}}`
- 指定输出的分辨率(每英寸的点数):
`pstopnm -dpi {{n}} {{path/to/file.ps}}`