{
    "content": [
        {
            "type": "text",
            "text": "# ppmtotga (info)\n\n## NAME\n\nppmtotga - convert portable pixmap into a TrueVision Targa file\n\n## SYNOPSIS\n\nppmtotga [-mono|-cmap|-rgb] [-norle] [ppmfile]\n\n## DESCRIPTION\n\nReads  a portable pixmap as input.  Produces a TrueVision Targa file as\noutput.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS**\n- **BUGS**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ppmtotga",
        "section": "",
        "mode": "info",
        "summary": "ppmtotga - convert portable pixmap into a TrueVision Targa file",
        "synopsis": "ppmtotga [-mono|-cmap|-rgb] [-norle] [ppmfile]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "tgatoppm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/tgatoppm/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": 17,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ppmtotga - convert portable pixmap into a TrueVision Targa file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "ppmtotga [-mono|-cmap|-rgb] [-norle] [ppmfile]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads  a portable pixmap as input.  Produces a TrueVision Targa file as\noutput.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "-mono  Forces Targa file to be of type 8 bit monochrome.  Input must be\na portable bitmap or a portable graymap.\n\n-cmap  Forces  Targa file to be of type 24 bit colormapped.  Input must\nbe a portable bitmap, a portable graymap or  a  portable  pixmap\ncontaining no more than 256 distinct colors.\n\n-rgb   Forces Targa file to be of type 24 bit unmapped color.\n\n-norle Disables  run-length  encoding,  in case you have a Targa reader\nwhich can't read run-length encoded files.\n\nAll flags can be abbreviated to their shortest unique  prefix.   If  no\nfile  type  is  specified the most highly constained compatible type is\nused, where monochrome is more constained than colormapped which is  in\nturn more constained than unmapped.\n",
                "subsections": []
            },
            "BUGS": {
                "content": "Does  not  support  all possible Targa file types.  Should really be in\nPNM, not PPM.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "tgatoppm(1), ppm(5)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1989, 1991 by Mark Shand and Jef Poskanzer.\n\n28 October 1991                    ppmtotga(1)",
                "subsections": []
            }
        }
    }
}