{
    "mode": "man",
    "parameter": "pcxtoppm",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pcxtoppm/1/json",
    "generated": "2026-06-16T04:26:27Z",
    "synopsis": "pcxtoppm [-stdpalette] [-verbose] [pcxfile]",
    "sections": {
        "NAME": {
            "content": "pcxtoppm - convert a PCX file into a portable pixmap\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pcxtoppm [-stdpalette] [-verbose] [pcxfile]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads a PCX file as input.  Produces a portable pixmap as output.  Supported PCX types are:\n\nColormapped files with 2-16 colors.\n\"Packed pixel\" format (1, 2 or 4 bits/pixel, 1 plane) or bitplane format (1 bit/pixel,\n1-4 planes).  The program checks the colormap and uses an internal one if the provided\ncolormap is completely black.\n\nColormapped files with 256 colors\n8 bits/pixel, 1 plane, colormap at the end of the file.\n\n24bit truecolor files\n24bit RGB: 8 bits/pixel, 3 planes.\n\n32bit truecolor files\n24bit RGB + 8bit intensity: 8 bits/pixel, 4 planes.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-stdpalette",
                    "content": "Enforce the use of the internal colormap for files with 16 colors or less.\n\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "ppmtopcx(1), ppm(5)\n\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Copyright (C) 1990 by Michael Davidson.\nModified 1994 by Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)\n\n\n\n\n9 April 1990                                 pcxtoppm(1)",
            "subsections": []
        }
    },
    "summary": "pcxtoppm - convert a PCX file into a portable pixmap",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Enforce the use of the internal colormap for files with 16 colors or less."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "ppmtopcx",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ppmtopcx/1/json"
        },
        {
            "name": "ppm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/ppm/5/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Convert a PCX file to a PPM image.",
        "examples": [
            {
                "description": "Convert a PCX file to a PPM image",
                "command": "pcxtoppm {{path/to/file.pcx}} > {{path/to/file.ppm}}"
            },
            {
                "description": "Use a predefined standard palette even if the PCX file provides one",
                "command": "pcxtoppm {{-s|-stdpalette}} {{path/to/file.pcx}} > {{path/to/file.ppm}}"
            },
            {
                "description": "Print information on the PCX header to `stdout`",
                "command": "pcxtoppm {{-verb|-verbose}} {{path/to/file.pcx}} > {{path/to/file.ppm}}"
            }
        ]
    }
}