{
    "content": [
        {
            "type": "text",
            "text": "# psidtopgm (info)\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\nportable graymap as output.\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": "psidtopgm",
        "section": "",
        "mode": "info",
        "summary": "psidtopgm - convert PostScript \"image\" data into a portable graymap",
        "synopsis": "psidtopgm width height bits/sample [imagedata]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "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": 18,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "psidtopgm - convert PostScript \"image\" data into a portable graymap\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "psidtopgm width height bits/sample [imagedata]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads  the  \"image\"  data  from a PostScript file as input.  Produces a\nportable graymap as output.\n\nThis program is obsoleted by pstopnm.  What follows was written  before\npstopnm existed.\n\nThis  is a very simple and limited program, and is here only because so\nmany people have asked for it.  To use it you have to manually  extract\nthe readhexstring data portion from your PostScript file, and then give\nthe width, height, and bits/sample on the command line.  Before you at-\ntempt this, you should at least read the description of the \"image\" op-\nerator in the PostScript Language Reference Manual.\n\nIt would probably not be too hard to write a script that uses this fil-\nter  to  read a specific variety of PostScript image, but the variation\nis too great to make a general-purpose reader.  Unless, of course,  you\nwant to write a full-fledged PostScript interpreter...\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pnmtops(1), pgm(5)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1989 by Jef Poskanzer.\n\n02 August 89                     psidtopgm(1)",
                "subsections": []
            }
        }
    }
}