LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pbmtogem

Convert a PBM image to GEM .img format

TLDR

Convert a PBM image to GEM IMG format
$ pbmtogem [input.pbm] > [output.img]
copy
Convert from stdin
$ cat [input.pbm] | pbmtogem > [output.img]
copy

SYNOPSIS

pbmtogem [pbmfile]

DESCRIPTION

pbmtogem reads a PBM image as input and produces a compressed GEM .img file as output. GEM (Graphics Environment Manager) was a GUI system used on Atari ST computers and early IBM PCs.If no input file is specified, the program reads from standard input. The output is always written to standard output. This tool does not support compression of repeated lines.Part of the Netpbm toolkit.

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

Does not support compression of repeated lines in the output. The GEM IMG format is largely obsolete and mainly of historical interest.

HISTORY

pbmtogem was created by David Beckemeyer and Jef Poskanzer as part of the Netpbm suite.

SEE ALSO

Copied to clipboard
Kai