# man > lispmtopgm(1)

> **TLDR:** Convert a Lisp Machine bitmap into a PGM image.
>
- Convert the specified Lisp Machine bitmap file into a PGM image:
  `lispmtopgm {{path/to/input.lispm}} > {{path/to/output.pgm}}`

*Source: tldr-pages*

---

_Lispmtopgm_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)              General Commands Manual             _Lispmtopgm_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)

## NAME
       lispmtopgm - convert a Lisp Machine bitmap file to PGM


## SYNOPSIS
       **lispmtopgm **[_lispmfile_]


## DESCRIPTION
       This program is part of [**Netpbm**(1)](https://www.chedong.com/phpMan.php/man/Netpbm/1/markdown).

       **listpmfile **reads a Lisp Machine bitmap as input and produces a PGM image as output.

       This  is  the  file format written by the tv:write-bit-array-file function on TI Explorer and
       Symbolics lisp machines.

       Multi-plane bitmaps on lisp machines are color; but the Lispm image file format does not  in‐
       clude  a color map, so we must treat it as a monochrome instead and produce PGM.  This is un‐
       fortunate.


## OPTIONS
       There are no command line options defined specifically for **lispmtopgm**, but it recognizes  the
       options common to all programs based on libnetpbm (See ]8;;index.html#commonoptions\ Common Options]8;;\ .)


## SEE ALSO
       [**pgmtolispm**(1)](https://www.chedong.com/phpMan.php/man/pgmtolispm/1/markdown), [**pgm**(1)](https://www.chedong.com/phpMan.php/man/pgm/1/markdown)


## LIMITATIONS
       The  Lispm  bitmap  file format is a bit quirky;  Usually the image in the file has its width
       rounded up to the next higher multiple of 32, but not always.  If the width is not a multiple
       of 32, we don't deal with it properly, but because of the Lispm microcode,  such  arrays  are
       probably not image data anyway.

       Also,  the Lispm code for saving bitmaps has a bug, in that if you are writing a bitmap which
       is not mod32 across, the file may be up to 7 bits too short!  They round down instead of  up,
       and we don't handle this bug gracefully.


## AUTHOR
       Copyright (C) 1991 by Jamie Zawinski and Jef Poskanzer.

## DOCUMENT SOURCE
       This  manual  page  was  generated by the Netpbm tool 'makeman' from HTML source.  The master
       documentation is at

              **<http://netpbm.sourceforge.net/doc/lispmtopgm.html>**

netpbm documentation                        06 March 1990                  _Lispmtopgm_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)
