{
    "content": [
        {
            "type": "text",
            "text": "# ppmtorgb3 (man)\n\n## NAME\n\nppmtorgb3 - separate a portable pixmap into three portable graymaps\n\n## SYNOPSIS\n\nppmtorgb3 [ppmfile]\n\n## DESCRIPTION\n\nReads  a  portable  pixmap  as input.  Writes three portable graymaps as output, one each for\nred, green, and blue.\n\n## TLDR\n\n> Separate the color components of a PPM file into three separate PGM files.\n\n- Separate the color components of a PPM file, saving the outputs to `file.red`, `file.grn` and `file.blu`:\n  `ppmtorgb3 {{path/to/file.ppm}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ppmtorgb3",
        "section": "",
        "mode": "man",
        "summary": "ppmtorgb3 - separate a portable pixmap into three portable graymaps",
        "synopsis": "ppmtorgb3 [ppmfile]",
        "tldr_summary": "Separate the color components of a PPM file into three separate PGM files.",
        "tldr_examples": [
            {
                "description": "Separate the color components of a PPM file, saving the outputs to `file.red`, `file.grn` and `file.blu`",
                "command": "ppmtorgb3 {{path/to/file.ppm}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "rgb3toppm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rgb3toppm/1/json"
            },
            {
                "name": "ppmtopgm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppmtopgm/1/json"
            },
            {
                "name": "pgmtoppm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pgmtoppm/1/json"
            },
            {
                "name": "ppm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/ppm/5/json"
            },
            {
                "name": "pgm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pgm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ppmtorgb3 - separate a portable pixmap into three portable graymaps\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "ppmtorgb3 [ppmfile]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads  a  portable  pixmap  as input.  Writes three portable graymaps as output, one each for\nred, green, and blue.\n\nThe output filenames are constructed by taking the input filename, stripping off  any  exten‐\nsion,  and appending \".red\", \".grn\", and \".blu\".  For example, separating lenna.ppm would re‐\nsult in lenna.red, lenna.grn, and lenna.blu.  If the input comes from stdin,  the  names  are\nnoname.red, noname.grn, and noname.blu.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "rgb3toppm(1), ppmtopgm(1), pgmtoppm(1), ppm(5), pgm(5)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1991 by Jef Poskanzer.\n\n\n\n10 January 1991                              ppmtorgb3(1)",
                "subsections": []
            }
        }
    }
}