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

20 lines
570 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.

# ppmtoicr
> 将PPM图像转换为NCSA ICR格式。
> 更多信息:<https://netpbm.sourceforge.net/doc/ppmtoicr.html>。
- 将PPM图像转换为ICR文件
`ppmtoicr {{path/to/file.ppm}} > {{path/to/file.icr}}`
- 在指定名称的窗口中显示输出:
`ppmtoicr -windowname {{name}} {{path/to/file.ppm}} > {{path/to/file.icr}}`
- 按指定因子扩大图像:
`ppmtoicr -expand {{factor}} {{path/to/file.ppm}} > {{path/to/file.icr}}`
- 在屏幕上显示输出,指定编号:
`ppmtoicr -display {{number}} {{path/to/file.ppm}} > {{path/to/file.icr}}`