88 lines
2.0 KiB
HTML
88 lines
2.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of pbmtoascii</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>pbmtoascii</H1>
|
|
Section: User Commands (1)<BR>Updated: 20 March 1992<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
pbmtoascii - convert a portable bitmap into ASCII graphics
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>pbmtoascii</B>
|
|
|
|
[<B>-1x2</B>|<B>-2x4</B>]
|
|
|
|
[<I>pbmfile</I>]
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
Reads a portable bitmap as input.
|
|
Produces a somewhat crude ASCII graphic as output.
|
|
<P>
|
|
|
|
Note that there is no asciitopbm tool - this transformation is one-way.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
The
|
|
<B>-1x2</B>
|
|
|
|
and
|
|
<B>-2x4</B>
|
|
|
|
flags give you two alternate ways for the bits to get mapped to characters.
|
|
With
|
|
<B>1x2</B>,
|
|
|
|
the default, each character represents a group of 1 bit across by 2 bits down.
|
|
With
|
|
<B>-2x4</B>,
|
|
|
|
each character represents 2 bits across by 4 bits down.
|
|
With the 1x2 mode you can see the individual bits, so it's useful for
|
|
previewing small bitmaps on a non-graphics terminal.
|
|
The 2x4 mode lets you display larger bitmaps on a standard 80-column display,
|
|
but it obscures bit-level details.
|
|
2x4 mode is also good for displaying
|
|
graymaps - "pnmscale -width 158 | pgmnorm | pgmtopbm -thresh"
|
|
should give good results.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?5+pbm">pbm</A>(5)
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Copyright (C) 1988, 1992 by Jef Poskanzer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </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">OPTIONS</A><DD>
|
|
<DT id="5"><A HREF="#lbAF">SEE ALSO</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:21 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|