pcxtoppm

Convert a PCX file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/pcxtoppm.html>.

Install

All systems
curl cmd.cat/pcxtoppm.sh
Debian Debian
apt-get install netpbm
Ubuntu
apt-get install netpbm
Arch Arch Linux
pacman -S netpbm
image/svg+xml Kali Linux
apt-get install netpbm
CentOS
yum install netpbm-progs
Fedora
dnf install netpbm-progs
Windows (WSL2)
sudo apt-get update sudo apt-get install netpbm
OS X
brew install netpbm
Raspbian
apt-get install netpbm

Convert a PCX file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/pcxtoppm.html>.

  • Convert a PCX file to a PPM image:
    pcxtoppm path/to/file.pcx > path/to/file.ppm
  • Use a predefined standard palette even if the PCX file provides one:
    pcxtoppm -stdpalette path/to/file.pcx > path/to/file.ppm
  • Print information on the PCX header to `stdout`:
    pcxtoppm -verbose path/to/file.pcx > path/to/file.ppm

© tl;dr; authors and contributors