1Lispmtopgm User Manual(0) Lispmtopgm User Manual(0)
2
3
4
6 lispmtopgm - convert a Lisp Machine bitmap file to PGM
7
8
10 lispmtopgm [lispmfile]
11
12
14 This program is part of Netpbm(1).
15
16 listpmfile reads a Lisp Machine bitmap as input and produces a PGM
17 image as output.
18
19 This is the file format written by the tv:write-bit-array-file function
20 on TI Explorer and Symbolics lisp machines.
21
22 Multi-plane bitmaps on lisp machines are color; but the Lispm image
23 file format does not include a color map, so we must treat it as a
24 monochrome instead and produce PGM. This is unfortunate.
25
26
28 pgmtolispm(1), pgm(1)
29
30
32 The Lispm bitmap file format is a bit quirky; Usually the image in the
33 file has its width rounded up to the next higher multiple of 32, but
34 not always. If the width is not a multiple of 32, we don't deal with
35 it properly, but because of the Lispm microcode, such arrays are proba‐
36 bly not image data anyway.
37
38 Also, the Lispm code for saving bitmaps has a bug, in that if you are
39 writing a bitmap which is not mod32 across, the file may be up to 7
40 bits too short! They round down instead of up, and we don't handle
41 this bug gracefully.
42
43
45 Copyright (C) 1991 by Jamie Zawinski and Jef Poskanzer.
46
47
48
49netpbm documentation 06 March 1990 Lispmtopgm User Manual(0)