tldr/pages/common/asciitopgm.md

13 lines
381 B
Markdown
Raw Normal View History

2023-10-19 10:48:59 +01:00
# asciitopgm
> Convert ASCII graphics into a PGM file.
> More information: <https://netpbm.sourceforge.net/doc/asciitopgm.html>.
- Read ASCII data as input and produce a PGM image with pixel values that are an approximation of the "brightness" of the ASCII characters:
`asciitopgm {{path/to/input_file}} > {{path/to/output_file.pgm}}`
- Display version:
`asciitopgm -version`