logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pcxtoppm - convert a PCX file into a PPM image

Authors

       Copyright 1990 by Michael Davidson.

       Modified 1994 by Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)

Description

       This program is part of Netpbm(1).

       pcxtoppm reads a PCX file as input and produces a PPM image as output.

       pcxtoppm recognizes the following PCX types:

       •      Colormapped files with 2-16 colors.

              "Packed  pixel"  format  (1,  2  or  4  bits/pixel,  1 plane) or bitplane format (1 bit/pixel, 1-4
              planes).  The program uses a predefined standard palette if the image does not provide one.  "Does
              not provide one" means the palette in the PCX header is completely black.

       •      Colormapped files with 256 colors.

              8 bits/pixel, 1 plane, colormap at the end of the file.

       •      24bit truecolor files.

              24bit RGB: 8 bits/pixel, 3 planes.

       •      32bit truecolor files.

              24bit RGB + 8bit intensity: 8 bits/pixel, 4 planes.

Document Source

       This  manual  page was generated by the Netpbm tool 'makeman' from HTML source.  The master documentation
       is at

              http://netpbm.sourceforge.net/doc/pcxtoppm.html

netpbm documentation                              19 April 2004                          PcxtoppmUserManual(1)

Name

       pcxtoppm - convert a PCX file into a PPM image

Options

       In addition to the options common to all programs based on libnetpbm (most notably  -quiet,  see   Common
       Options ), pcxtoppm recognizes the following command line options:

       -stdpalette
              This  option causes pcxtoppm to use its predefined standard palette even if the PCX image provides
              its own.  This is meaningful only for an image in the 16 color paletted PCX format.

              The image may appear to provide its own palette but in fact be created by a program too  primitive
              to understand palettes that created a random palette by accident.

       -verbose
              Report details of the PCX header.

See Also

ppmtopcx(1), ppm(1)

Synopsis

pcxtoppm [-stdpalette] [-verbose] [pcxfile]

See Also