LinuxCommandLibrary

asciitopgm

Convert ASCII graphics into a PGM file.

TLDR

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


Display version
$ asciitopgm -version
copy

Copied to clipboard