{
    "mode": "man",
    "parameter": "pnmtoxwd",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pnmtoxwd/1/json",
    "generated": "2026-05-30T05:15:21Z",
    "synopsis": "pnmtoxwd [-pseudodepth n] [-directcolor] [pnmfile]",
    "sections": {
        "NAME": {
            "content": "pnmtoxwd - convert a portable anymap into an X11 window dump\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pnmtoxwd [-pseudodepth n] [-directcolor] [pnmfile]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads  a  portable anymap as input.  Produces an X11 window dump as output.  This window dump\ncan be displayed using the xwud tool.\n\nNormally, pnmtoxwd produces a StaticGray dump file for pbm and pgm files.  For ppm, it writes\na  PseudoColor  dump  file if there are up to 256 colors in the input, and a DirectColor dump\nfile otherwise.  The -directcolor flag can be used to force  a  DirectColor  dump.   And  the",
            "subsections": [
                {
                    "name": "-pseudodepth",
                    "content": "bits / 256 colors.\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "xwdtopnm(1), pnm(5), xwud(1)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 1989, 1991 by Jef Poskanzer.\n\n\n\n24 September 1991                              pnmtoxwd(1)",
            "subsections": []
        }
    },
    "summary": "pnmtoxwd - convert a portable anymap into an X11 window dump",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "bits / 256 colors."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "xwdtopnm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/xwdtopnm/1/json"
        },
        {
            "name": "pnm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pnm/5/json"
        },
        {
            "name": "xwud",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/xwud/1/json"
        }
    ]
}