HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

asciitopgm — Convert ASCII graphics into a PGM file. More information: <https://netpbm.sourceforge.net/doc/asciit

Submitted by: @import:tldr-pages··
0
Viewed 0 times
graphicsasciitopgmcommandasciiconvertcliintopgm

Problem

How to use the asciitopgm command: Convert ASCII graphics into a PGM file. More information: <https://netpbm.sourceforge.net/doc/asciitopgm.html>.

Solution

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]}}

Code Snippets

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]}}

Context

tldr-pages: common/asciitopgm

Revisions (0)

No revisions yet.