summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-leap-15-6/man1/lispmtopgm.1
blob: d964ee4e28045367852e8aa1989d7c7f9c0f570e (plain)
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
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it!  If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Lispmtopgm User Manual" 0 "06 March 1990" "netpbm documentation"

.UN lbAB
.SH NAME
lispmtopgm - convert a Lisp Machine bitmap file to PGM

.UN lbAC
.SH SYNOPSIS

\fBlispmtopgm\fP
[\fIlispmfile\fP]

.UN lbAD
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBlistpmfile\fP reads a Lisp Machine bitmap as input and
produces a PGM image as output.
.PP
This is the file format written by the tv:write-bit-array-file
function on TI Explorer and Symbolics lisp machines.
.PP
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
monochrome instead and produce PGM.  This is unfortunate.

.UN lbAE
.SH SEE ALSO
.BR "pgmtolispm" (1)\c
\&,
.BR "pgm" (5)\c
\&

.UN lbAF
.SH LIMITATIONS

The Lispm bitmap file format is a bit quirky;  Usually the image in the file
has its width rounded up to the next higher multiple of 32, but not always.
If the width is not a multiple of 32, we don't deal with it properly, but 
because of the Lispm microcode, such arrays are probably not image data 
anyway.
.PP
Also, the Lispm code for saving bitmaps has a bug, in that if you
are writing a bitmap which is not mod32 across, the file may be up to
7 bits too short!  They round down instead of up, and we don't handle
this bug gracefully.

.UN lbAG
.SH AUTHOR
.PP
Copyright (C) 1991 by Jamie Zawinski and Jef Poskanzer.
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source.  The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/lispmtopgm.html
.PP