{
    "mode": "man",
    "parameter": "lispmtopgm",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/lispmtopgm/1/json",
    "generated": "2026-09-02T15:18:46Z",
    "synopsis": "lispmtopgm [lispmfile]",
    "sections": {
        "NAME": {
            "content": "lispmtopgm - convert a Lisp Machine bitmap file to PGM\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "lispmtopgm [lispmfile]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This program is part of Netpbm(1).\n\nlistpmfile reads a Lisp Machine bitmap as input and produces a PGM image 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 monochrome instead and produce PGM.  This is un‐\nfortunate.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "There are no command line options defined specifically for lispmtopgm, but it recognizes  the\noptions common to all programs based on libnetpbm (See \u001b]8;;index.html#commonoptions\u001b\\ Common Options\u001b]8;;\u001b\\ .)\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pgmtolispm(1), pgm(1)\n\n",
            "subsections": []
        },
        "LIMITATIONS": {
            "content": "The  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\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 1991 by Jamie Zawinski and Jef Poskanzer.\n",
            "subsections": []
        },
        "DOCUMENT SOURCE": {
            "content": "This  manual  page  was  generated by the Netpbm tool 'makeman' from HTML source.  The master\ndocumentation is at\n\nhttp://netpbm.sourceforge.net/doc/lispmtopgm.html\n\nnetpbm documentation                        06 March 1990                  Lispmtopgm User Manual(1)",
            "subsections": []
        }
    },
    "summary": "lispmtopgm - convert a Lisp Machine bitmap file to PGM",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "pgmtolispm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pgmtolispm/1/json"
        },
        {
            "name": "pgm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pgm/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Convert a Lisp Machine bitmap into a PGM image.",
        "examples": [
            {
                "description": "Convert the specified Lisp Machine bitmap file into a PGM image",
                "command": "lispmtopgm {{path/to/input.lispm}} > {{path/to/output.pgm}}"
            }
        ]
    }
}