LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lispmtopgm

converts Lisp Machine bitmap format to PGM grayscale

TLDR

Convert Lisp Machine bitmap to PGM
$ lispmtopgm [input.lispm] > [output.pgm]
copy
Read from stdin
$ cat [input.lispm] | lispmtopgm > [output.pgm]
copy

SYNOPSIS

lispmtopgm [lispmfile]

DESCRIPTION

lispmtopgm converts a Lisp Machine bitmap file into a PGM (Portable Graymap) image. It reads bitmaps written by the `tv:write-bit-array-file` function on TI Explorer and Symbolics Lisp Machines.Multi-plane Lisp Machine bitmaps are inherently color, but because the file format lacks a color map the output is produced as grayscale PGM. If no input file is given, the bitmap is read from standard input.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

CAVEATS

The Lisp Machine format normally pads image width up to the next multiple of 32 pixels, but not always. Files with non-32-aligned widths may be up to 7 bits too short and are not handled gracefully. No tool-specific options exist; only standard libnetpbm options apply.

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