{
    "content": [
        {
            "type": "text",
            "text": "# pgmtolispm (man)\n\n## NAME\n\npgmtolispm - convert a portable graymap into Lisp Machine format\n\n## SYNOPSIS\n\npgmtolispm [pgmfile]\n\n## DESCRIPTION\n\nReads a portable graymap as input.  Produces a Lisp Machine bitmap as output.\n\n## TLDR\n\n> Convert a PGM image to Lisp Machine format.\n\n- Convert the specified PGM image to Lisp Machine format:\n  `pgmtolispm {{path/to/input.pgm}} > {{path/to/output.lispm}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **BUGS**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pgmtolispm",
        "section": "",
        "mode": "man",
        "summary": "pgmtolispm - convert a portable graymap into Lisp Machine format",
        "synopsis": "pgmtolispm [pgmfile]",
        "tldr_summary": "Convert a PGM image to Lisp Machine format.",
        "tldr_examples": [
            {
                "description": "Convert the specified PGM image to Lisp Machine format",
                "command": "pgmtolispm {{path/to/input.pgm}} > {{path/to/output.lispm}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "lispmtopgm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/lispmtopgm/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": 11,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pgmtolispm - convert a portable graymap into Lisp Machine format\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pgmtolispm [pgmfile]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads a portable graymap as input.  Produces a Lisp Machine bitmap as output.\n\nThis  is  the file format read by the tv:read-bit-array-file function on TI Explorer and Sym‐\nbolics lisp machines.\n\nGiven a pgm (instead of a pbm) a multi-plane image will be output.  This is probably not use‐\nful unless you have a color lisp machine.\n\nMulti-plane  bitmaps on lisp machines are color; but the lispm image file format does not in‐\nclude a color map, so we must treat it as a graymap instead.  This is unfortunate.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "lispmtopgm(1), pgm(5)\n",
                "subsections": []
            },
            "BUGS": {
                "content": "Output width is always rounded up to the nearest multiple of 32; this  might  not  always  be\nwhat  you  want,  but  it probably is (arrays which are not modulo 32 cannot be passed to the\nLispm BITBLT function, and thus cannot easily be displayed on the screen).\n\nNo color.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1991 by Jamie Zawinski and Jef Poskanzer.\n\n\n\n06 March 1990                              pgmtolispm(1)",
                "subsections": []
            }
        }
    }
}