LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

asciitoppm

Convert ASCII text to PPM color image

TLDR

Convert ASCII text file to a PPM image
$ asciitoppm < [ascii.txt] > [output.ppm]
copy
Convert using a specific color definition file
$ asciitoppm -d [colorfile] < [ascii.txt] > [output.ppm]
copy

SYNOPSIS

asciitoppm [options] [height width] < input > output

DESCRIPTION

asciitoppm converts ASCII text to a PPM (Portable Pixmap) color image. Each character in the input is mapped to a colored pixel, producing a visual representation of the text content.Unlike asciitopgm which produces grayscale output, asciitoppm generates full-color images. The input is read from standard input and written to standard output. It is part of the Netpbm image processing toolkit.

PARAMETERS

-d colorfile

Use the specified color definition file to map characters to colors.

HISTORY

Part of the Netpbm toolkit for image processing.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid