pgmtolispm(1)

pgmtolispm1

Convert a pgm image to lisp machine format

Usage

pgmtolispm

[pgmfile]

Overview

This program is part of Netpbm(1) .

pgmtolispm reads a PGM image as input and 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 Symbolics lisp machines.

Given a PGM (instead of a PBM), pgmtolispm outputs a multi-plane image. This is probably not useful unless you have a color lisp machine.

Multi-plane bitmaps on lisp machines are color; but the lispm image file format does not include a color map, so we must treat it as a graymap instead. This is unfortunate.

Options

There are no command line options defined specifically for pgmtolispm, but it recognizes the options common to all programs based on libnetpbm (See
Common Options ⟨index.html#commonoptions⟩ .)

Limitations

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.

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/pgmtolispm.html

Releases

16 releases since Debian 2.0 (Hamm); the text changed 2 times.

  1. 2.0–11
  2. 12–13
  3. Arch

Author

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

From netpbm 10.86.51-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.