{
    "content": [
        {
            "type": "text",
            "text": "# psidtopgm(1) (man)\n\n**Summary:** psidtopgm - convert PostScript \"image\" data into a portable graymap\n\n**Synopsis:** psidtopgm width height bits/sample [imagedata]\n\n## See Also\n\n- pnmtops(1)\n- pgm(5)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (15 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\npsidtopgm - convert PostScript \"image\" data into a portable graymap\n\n### SYNOPSIS\n\npsidtopgm width height bits/sample [imagedata]\n\n### DESCRIPTION\n\nReads  the \"image\" data from a PostScript file as input.  Produces a portable graymap as out‐\nput.\n\nThis program is obsoleted by pstopnm.  What follows was written before pstopnm existed.\n\nThis is a very simple and limited program, and is here only because so many people have asked\nfor  it.   To  use  it  you have to manually extract the readhexstring data portion from your\nPostScript file, and then give the width, height, and bits/sample on the command  line.   Be‐\nfore  you  attempt  this, you should at least read the description of the \"image\" operator in\nthe PostScript Language Reference Manual.\n\nIt would probably not be too hard to write a script that uses this filter to read a  specific\nvariety of PostScript image, but the variation is too great to make a general-purpose reader.\nUnless, of course, you want to write a full-fledged PostScript interpreter...\n\n### SEE ALSO\n\npnmtops(1), pgm(5)\n\n### AUTHOR\n\nCopyright (C) 1989 by Jef Poskanzer.\n\n\n\n02 August 89                                psidtopgm(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "psidtopgm",
        "section": "1",
        "mode": "man",
        "summary": "psidtopgm - convert PostScript \"image\" data into a portable graymap",
        "synopsis": "psidtopgm width height bits/sample [imagedata]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pnmtops",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmtops/1/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": 15,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}