{
    "content": [
        {
            "type": "text",
            "text": "# lispmtopgm(1) (man)\n\n**Summary:** lispmtopgm - convert a Lisp Machine bitmap file into pgm format\n\n**Synopsis:** lispmtopgm [lispmfile]\n\n## See Also\n\n- pgmtolispm(1)\n- pgm(5)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (8 lines)\n- **SEE ALSO** (2 lines)\n- **BUGS** (11 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nlispmtopgm - convert a Lisp Machine bitmap file into pgm format\n\n### SYNOPSIS\n\nlispmtopgm [lispmfile]\n\n### DESCRIPTION\n\nReads a Lisp Machine bitmap as input.  Produces a portable graymap as output.\n\nThis  is  the  file format written by the tv:write-bit-array-file function on TI Explorer and\nSymbolics lisp machines.\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\n### SEE ALSO\n\npgmtolispm(1), pgm(5)\n\n### BUGS\n\nThe  Lispm  bitmap  file format is a bit quirky;  Usually the image in the file has its width\nrounded up to the next higher multiple of 32, but not always.  If the width is not a multiple\nof  32,  we  don't deal with it properly, but because of the Lispm microcode, such arrays are\nprobably not image data anyway.\n\nAlso, the lispm code for saving bitmaps has a bug, in that if you are writing a bitmap  which\nis  not mod32 across, the file may be up to 7 bits too short!  They round down instead of up,\nand we don't handle this bug gracefully.\n\nNo color.\n\n### AUTHOR\n\nCopyright (C) 1991 by Jamie Zawinski and Jef Poskanzer.\n\n\n\n06 March 1990                              lispmtopgm(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "lispmtopgm",
        "section": "1",
        "mode": "man",
        "summary": "lispmtopgm - convert a Lisp Machine bitmap file into pgm format",
        "synopsis": "lispmtopgm [lispmfile]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pgmtolispm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pgmtolispm/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": 8,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}