about summary refs log tree commit diff
path: root/pgmtolispm.html
blob: 3c90244403b36a3a120f79b2ed3bdadfa83176b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Pgmtolispm User Manual</title></head>
<body>
<h1>pgmtolispm</h1>
Updated: 06 March 1990
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>

pgmtolispm - convert a PGM image to Lisp Machine format

<h2 id="synopsis">SYNOPSIS</h2>

<b>pgmtolispm</b>

[<i>pgmfile</i>]

<h2 id="description">DESCRIPTION</h2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>pgmtolispm</b> reads a PGM image as input and produces a Lisp
Machine bitmap as output.

<p>This is the file format read by the tv:read-bit-array-file function
on TI Explorer and Symbolics lisp machines.

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

<p>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.

<h2 id="options">OPTIONS</h2>

<p>There are no command line options defined specifically
for <b>pgmtolispm</b>, but it recognizes the options common to all
programs based on libnetpbm (See <a href="index.html#commonoptions">
Common Options</a>.)

<h2 id="seealso">SEE ALSO</h2>

<a href="lispmtopgm.html">lispmtopgm</a>,
<a href="pgm.html">pgm</a>

<h2 id="limitations">LIMITATIONS</h2>

<p>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).

<p>No color.

<h2 id="author">AUTHOR</h2>

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

<hr>
<h2 id="index">Table Of Contents</h2>
<ul>
<li><a href="#synopsis">SYNOPSIS</a>
<li><a href="#description">DESCRIPTION</a>
<li><a href="#options">OPTIONS</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#limitations">LIMITATIONS</a>
<li><a href="#author">AUTHOR</a>
</ul>
</body>
</html>