{
    "content": [
        {
            "type": "text",
            "text": "# rasttopnm(1) (man)\n\n**Summary:** rasttopnm - convert a Sun rasterfile into a portable anymap\n\n**Synopsis:** rasttopnm [rastfile]\n\n## See Also\n\n- pnmtorast(1)\n- pnm(5)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (4 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nrasttopnm - convert a Sun rasterfile into a portable anymap\n\n### SYNOPSIS\n\nrasttopnm [rastfile]\n\n### DESCRIPTION\n\nReads a Sun rasterfile as input.  Produces a portable anymap as output.  The type of the out‐\nput file depends on the input file - if it's black & white, a pbm file is  written,  else  if\nit's grayscale a pgm file, else a ppm file.  The program tells you which type it is writing.\n\n### SEE ALSO\n\npnmtorast(1), pnm(5)\n\n### AUTHOR\n\nCopyright (C) 1989, 1991 by Jef Poskanzer.\n\n\n\n13 January 1991                              rasttopnm(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "rasttopnm",
        "section": "1",
        "mode": "man",
        "summary": "rasttopnm - convert a Sun rasterfile into a portable anymap",
        "synopsis": "rasttopnm [rastfile]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pnmtorast",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmtorast/1/json"
            },
            {
                "name": "pnm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pnm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}