phpMan > man > pgmtolispm(1)

Markdown | JSON | MCP    

TLDR: pgmtolispm (tldr-pages)

Convert a PGM image to Lisp Machine format.

  • Convert the specified PGM image to Lisp Machine format
    pgmtolispm {{path/to/input.pgm}} > {{path/to/output.lispm}}
pgmtolispm(1)                          General Commands Manual                         pgmtolispm(1)



NAME
       pgmtolispm - convert a portable graymap into Lisp Machine format

SYNOPSIS
       pgmtolispm [pgmfile]

DESCRIPTION
       Reads a portable graymap as input.  Produces a Lisp Machine bitmap as output.

       This  is  the file format read by the tv:read-bit-array-file function on TI Explorer and Sym‐
       bolics lisp machines.

       Given a pgm (instead of a pbm) a multi-plane image will be output.  This is probably not use‐
       ful unless you have a color lisp machine.

       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 graymap instead.  This is unfortunate.

SEE ALSO
       lispmtopgm(1), pgm(5)

BUGS
       Output width is always rounded up to the nearest multiple of 32; this  might  not  always  be
       what  you  want,  but  it probably is (arrays which are not modulo 32 cannot be passed to the
       Lispm BITBLT function, and thus cannot easily be displayed on the screen).

       No color.

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



                                            06 March 1990                              pgmtolispm(1)

Generated by phpMan v3.7.7 Author: Che Dong Under GNU General Public License
2026-06-10 05:38 @216.73.217.62
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!