summary refs log tree commit diff
path: root/pgmtolispm.html
blob: 2cec51097ca6cfd602bd48cc32293827b8b916ae (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.2//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>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

pgmtolispm - convert a PGM image to Lisp Machine format

<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>pgmtolispm</B>

[<I>pgmfile</I>]

<A NAME="lbAD">&nbsp;</A>
<H2>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.

<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>

<A HREF="lispmtopgm.html">lispmtopgm</A>,
<A HREF="pgm.html">pgm</A>

<A NAME="lbAF">&nbsp;</A>
<H2>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.

<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>

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

<HR>
<A NAME="index">&nbsp;</A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#lbAE">SEE ALSO</A>
<LI><A HREF="#lbAF">LIMITATIONS</A>
<LI><A HREF="#lbAG">AUTHOR</A>
</UL>
</BODY>
</HTML>