LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ppmtopcx

Convert PPM images to PCX format

TLDR

Convert PPM to PCX
$ ppmtopcx [input.ppm] > [output.pcx]
copy
Convert with 256 colors
$ ppmtopcx -256 [input.ppm] > [output.pcx]
copy
Convert with 24-bit color
$ ppmtopcx -24bit [input.ppm] > [output.pcx]
copy

SYNOPSIS

ppmtopcx [options] [file]

DESCRIPTION

ppmtopcx converts PPM images to PCX format. PCX is an older bitmap format commonly used in DOS applications. Part of Netpbm toolkit.

PARAMETERS

-256

256 color palette.
-24bit
24-bit true color.
-packed
Packed pixel mode.

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

SEE ALSO

Copied to clipboard
Kai