man-pages/man1/lispmtopgm.1.html
2021-03-31 01:06:50 +01:00

85 lines
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of lispmtopgm</TITLE>
</HEAD><BODY>
<H1>lispmtopgm</H1>
Section: User Commands (1)<BR>Updated: 06 March 1990<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="ixAAB"></A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
lispmtopgm - convert a Lisp Machine bitmap file into pgm format
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>lispmtopgm</B>
[<I>lispmfile</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Reads a Lisp Machine bitmap as input.
<A NAME="ixAAC"></A>
Produces a portable graymap as output.
<P>
This is the file format written by the tv:write-bit-array-file function on
TI Explorer and Symbolics lisp machines.
<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="/cgi-bin/man/man2html?1+pgmtolispm">pgmtolispm</A>(1), <A HREF="/cgi-bin/man/man2html?5+pgm">pgm</A>(5)
<A NAME="lbAF">&nbsp;</A>
<H2>BUGS</H2>
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.
<P>
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.
<P>
No color.
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
Copyright (C) 1991 by Jamie Zawinski and Jef Poskanzer.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="5"><A HREF="#lbAF">BUGS</A><DD>
<DT id="6"><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:18 GMT, March 31, 2021
</BODY>
</HTML>