pcxtoppm reads a PCX file as input and produces a PPM image as output.
pcxtoppm recognizes the following PCX types:
"Packed pixel" format (1, 2 or 4 bits/pixel, 1 plane) or bitplane format (1 bit/pixel, 1-4 planes). The program checks the colormap and uses an internal one if the provided colormap is completely black.
8 bits/pixel, 1 plane, colormap at the end of the file.
24bit RGB: 8 bits/pixel, 3 planes.
24bit RGB + 8bit intensity: 8 bits/pixel, 4 planes.
Copyright 1990 by Michael Davidson.
Modified 1994 by Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)