{
    "content": [
        {
            "type": "text",
            "text": "# ximtoppm (man)\n\n## NAME\n\nximtoppm - convert an Xim file to a PPM image\n\n## DESCRIPTION\n\nThis program is part of Netpbm(1).\n\n## TLDR\n\n> Convert a XIM file to a PPM image.\n\n- Convert an XIM image to a PPM image:\n  `ximtoppm {{path/to/input_file.xim}} > {{path/to/output_file.ppm}}`\n- Store the transparency mask of the input image in the specified file:\n  `ximtoppm {{-a|-alphaout}} {{path/to/alpha_file.pbm}} {{path/to/input_file.xim}} > {{path/to/output_file.ppm}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS** (1 subsections)\n- **DESCRIPTION**\n- **OPTIONS**\n- **SEE ALSO**\n- **AUTHOR**\n- **DOCUMENT SOURCE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ximtoppm",
        "section": "",
        "mode": "man",
        "summary": "ximtoppm - convert an Xim file to a PPM image",
        "synopsis": "",
        "tldr_summary": "Convert a XIM file to a PPM image.",
        "tldr_examples": [
            {
                "description": "Convert an XIM image to a PPM image",
                "command": "ximtoppm {{path/to/input_file.xim}} > {{path/to/output_file.ppm}}"
            },
            {
                "description": "Store the transparency mask of the input image in the specified file",
                "command": "ximtoppm {{-a|-alphaout}} {{path/to/alpha_file.pbm}} {{path/to/input_file.xim}} > {{path/to/output_file.ppm}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pamcomp",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pamcomp/1/json"
            },
            {
                "name": "ppm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppm/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "ximtoppm",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 26,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DOCUMENT SOURCE",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ximtoppm - convert an Xim file to a PPM image\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "",
                "subsections": [
                    {
                        "name": "ximtoppm",
                        "content": "[--alphaout={alpha-filename,-}] [ximfile]\n\n"
                    }
                ]
            },
            "DESCRIPTION": {
                "content": "This program is part of Netpbm(1).\n\nximptoppm  reads an Xim file as input and produces a PPM image as output.  The Xim toolkit is\nincluded in the contrib tree of the X.V11R4 release.\n\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "In addition to the options common to all programs based on libnetpbm  (most  notably  -quiet,\nsee \u001b]8;;index.html#commonoptions\u001b\\ Common Options\u001b]8;;\u001b\\ ), ximtoppm recognizes the following command line option:\n\nYou can abbreviate any option to its shortest unique prefix.\n\n\n\n--alphaout=alpha-filename\nximtoppm  creates  a  PGM file containing the transparency channel values in the input\nimage.  If the input image doesn't contain a transparency channel, the  alpha-filename\nfile  contains all zero (transparent) transparency values.  If you don't specify --al‐\nphaout, ximtoppm does not generate a transparency file, and if the input image  has  a\ntransparency channel, ximtoppm simply discards it.\n\nIf  you specify - as the filename, ximtoppm writes the transparency output to Standard\nOutput and discards the image.\n\nActually, an Xim image can contain an arbitrary fourth channel -- it  need  not  be  a\ntransparency  channel.   ximtoppm  extracts  any  fourth channel it finds as described\nabove; it doesn't matter if it is a transparency channel or not.\n\nSee pamcomp(1) for one way to use the transparency output file.\n\n\n\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pamcomp(1), ppm(1)\n\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1991 by Jef Poskanzer.\n",
                "subsections": []
            },
            "DOCUMENT SOURCE": {
                "content": "This manual page was generated by the Netpbm tool 'makeman' from  HTML  source.   The  master\ndocumentation is at\n\nhttp://netpbm.sourceforge.net/doc/ximtoppm.html\n\nnetpbm documentation                        02 April 2000                    Ximtoppm User Manual(1)",
                "subsections": []
            }
        }
    }
}