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

12 lines
346 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.

# asciitopgm
> 将ASCII图形转换为PGM文件。
> 更多信息:<https://netpbm.sourceforge.net/doc/asciitopgm.html>。
- 读取ASCII数据作为输入并生成一个PGM图像其像素值近似于ASCII字符的“亮度”
`asciitopgm {{path/to/input_file}} > {{path/to/output_file.pgm}}`
- 显示版本:
`asciitopgm -version`