{
    "content": [
        {
            "type": "text",
            "text": "# ximtoppm(1) (man)\n\n**Summary:** ximtoppm - convert an Xim file into a portable pixmap\n\n**Synopsis:** ximtoppm [--alphaout={alpha-filename,-}] [ximfile]\n\n## See Also\n\n- pnmcomp(1)\n- ppm(5)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (3 lines)\n- **OPTIONS** (20 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nximtoppm - convert an Xim file into a portable pixmap\n\n### SYNOPSIS\n\nximtoppm [--alphaout={alpha-filename,-}] [ximfile]\n\n### DESCRIPTION\n\nReads  an  Xim  file as input.  Produces a portable pixmap as output.  The Xim toolkit is in‐\ncluded in the contrib tree of the X.V11R4 release.\n\n### OPTIONS\n\n--alphaout=alpha-filename\nximtoppm creates a PGM (portable graymap) file containing the alpha channel values  in\nthe input image.  If the input image doesn't contain an alpha channel, the alpha-file‐\nname file contains all zero (transparent) alpha values.  If you  don't  specify  --al‐‐\nphaout,  ximtoppm does not generate an alpha file, and if the input image has an alpha\nchannel, ximtoppm simply discards it.\n\nIf you specify - as the filename, ximtoppm writes the alpha output to Standard  Output\nand discards the image.\n\nActually,  an  Xim  image can contain an arbitrary fourth channel -- it need not be an\nAlpha channel.  ximtoppm extracts any fourth channel it finds as described  above;  it\ndoesn't matter if it is an alpha channel or not.\n\nSee pnmcomp(1) for one way to use the alpha output file.\n\n\nAll options can be abbreviated to their shortest unique prefix.\n\n### SEE ALSO\n\npnmcomp(1), ppm(5)\n\n### AUTHOR\n\nCopyright (C) 1991 by Jef Poskanzer.\n\n\n\nApril 2, 2000                                ximtoppm(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "ximtoppm",
        "section": "1",
        "mode": "man",
        "summary": "ximtoppm - convert an Xim file into a portable pixmap",
        "synopsis": "ximtoppm [--alphaout={alpha-filename,-}] [ximfile]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pnmcomp",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmcomp/1/json"
            },
            {
                "name": "ppm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/ppm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}