{
    "content": [
        {
            "type": "text",
            "text": "# pnm (man)\n\n## NAME\n\npnm - Netpbm superformat\n\n## DESCRIPTION\n\nThe  PNM format is just an abstraction of the PBM, PGM, and PPM formats.  I.e. the name \"PNM\"\nrefers collectively to PBM, PGM, and PPM.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **INTERNET MEDIA TYPE**\n- **FILE NAME**\n- **SEE ALSO**\n- **DOCUMENT SOURCE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pnm",
        "section": "",
        "mode": "man",
        "summary": "pnm - Netpbm superformat",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "ppm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppm/1/json"
            },
            {
                "name": "pgm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pgm/1/json"
            },
            {
                "name": "pbm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pbm/1/json"
            },
            {
                "name": "pam",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pam/1/json"
            },
            {
                "name": "PNM",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/PNM/1/json"
            },
            {
                "name": "libnetpbm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/libnetpbm/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 21,
                "subsections": []
            },
            {
                "name": "INTERNET MEDIA TYPE",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "FILE NAME",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DOCUMENT SOURCE",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pnm - Netpbm superformat\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The  PNM format is just an abstraction of the PBM, PGM, and PPM formats.  I.e. the name \"PNM\"\nrefers collectively to PBM, PGM, and PPM.\n\nThe name \"PNM\" is an acronym derived from \"Portable Any  Map.\"  This  derivation  makes  more\nsense if you consider it in the context of the other Netpbm format names: PBM, PGM, and PPM.\n\nThe more general term \"Netpbm format\" refers to the PNM formats plus PAM.\n\nPNM is principally used with Netpbm(1).\n\nNote  that  besides  being  names of formats, PBM, PGM, PPM, and PNM are also classes of pro‐\ngrams.  A PNM program can take PBM, PGM, or PPM input.  That's nothing special -- a PPM  pro‐\ngram can too.  But a PNM program can often produce multiple output formats as well, and a PNM\nprogram  can  see  the difference between PBM, PGM, and PPM input and respond to each differ‐\nently whereas a PPM program sees everything as if it were PPM.  This is discussed more in the\ndescription of the netpbm programs\" (1).\n\n\"pnm\" also appears in the names of the most general Netpbm library routines(1), some of which\naren't even related to the PNM format.\n\n",
                "subsections": []
            },
            "INTERNET MEDIA TYPE": {
                "content": "No Internet Media Type (aka MIME type, content type) for PNM has  been  registered  with  the\nIANA, but the value image/x-portable-anymap is conventional.\n\nNote  that  there  are also conventional Internet Media Types for each of the PNM subformats.\nThe recommended practice is to use those in preference to the PNM code when it is  convenient\nto do so.\n\n",
                "subsections": []
            },
            "FILE NAME": {
                "content": "There  are no requirements on the name of a PNM file, but the convention is to use the suffix\n\"pbm\", \"pgm\", or \"ppm\", depending on the particular subformat, or \"pnm\" if it is  not  conve‐\nnient to distinguish the subformats.\n\n\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "ppm(1), pgm(1), pbm(1), pam(1), programs that process PNM(1), libnetpbm(1)\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/pnm.html\n\nnetpbm documentation                      27 November 2013                         The PNM Format(5)",
                "subsections": []
            }
        }
    }
}