1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:22:07 +02:00
tldr/pages/common/asciitopgm.md
Antti Savolainen e7e3c0b668 batch4
2025-03-28 18:48:45 +02:00

390 B

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 {{[-v|-version]}}