mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-03 15:43:34 +00:00
18 lines
474 B
Plaintext
18 lines
474 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|