about summary refs log tree commit diff
path: root/pbmtoascii.html
diff options
context:
space:
mode:
Diffstat (limited to 'pbmtoascii.html')
-rw-r--r--pbmtoascii.html51
1 files changed, 21 insertions, 30 deletions
diff --git a/pbmtoascii.html b/pbmtoascii.html
index 2375c53e..0c62da46 100644
--- a/pbmtoascii.html
+++ b/pbmtoascii.html
@@ -6,12 +6,10 @@ Updated: 11 August 2002
 <BR>
 <A HREF="#index">Table Of Contents</A>
 
-<A NAME="lbAB">&nbsp;</A>
 <H2>NAME</H2>
 pbmtoascii - convert a PBM image to ASCII graphics
 
-<A NAME="lbAC">&nbsp;</A>
-<H2>SYNOPSIS</H2>
+<H2 id="synopsis">SYNOPSIS</H2>
 
 <B>pbmtoascii</B>
 
@@ -19,56 +17,49 @@ pbmtoascii - convert a PBM image to ASCII graphics
 
 [<I>pbmfile</I>]
 
-<A NAME="lbAD">&nbsp;</A>
-<H2>DESCRIPTION</H2>
+<H2 id="description">DESCRIPTION</H2>
 
 <p>This program is part of <a href="index.html">Netpbm</a>.
 
-<b>pbmtoascii</b> reads a PBM image as input and produces a somewhat
+<p><b>pbmtoascii</b> reads a PBM image as input and produces a somewhat
 crude ASCII graphic image as output.
 
 <P>To convert back, use <A HREF="asciitopgm.html">asciitopgm</A>.
 
-<A NAME="lbAE">&nbsp;</A>
-<H2>OPTIONS</H2>
+<H2 id="options">OPTIONS</H2>
 
-<p>The <B>-1x2</B> and <B>-2x4</B> options give you two alternate ways for
-the pixels to get mapped to characters.  With <B>1x2</B>, the default,
-each character represents a group of 1 pixel across by 2 pixels down.
-With <B>-2x4</B>, each character represents 2 pixels across by 4
-pixels down.  With the 1x2 mode you can see the individual pixels, so
-it's useful for previewing small images on a non-graphics terminal.
-The 2x4 mode lets you display larger images on a standard 80-column
-display, but it obscures pixel-level details.  2x4 mode is also good
-for displaying PGM images:
+<p>The <B>-1x2</B> and <B>-2x4</B> options give you two alternate ways for the
+pixels to get mapped to characters.  With <B>1x2</B>, the default, each
+character represents a group of 1 pixel across by 2 pixels down.  With
+<B>-2x4</B>, each character represents 2 pixels across by 4 pixels down.  With
+the 1x2 mode you can see the individual pixels, so it's useful for previewing
+small images on a non-graphics terminal.  The 2x4 mode lets you display larger
+images on a small display, but it obscures pixel-level details.  2x4 mode is
+also good for displaying PGM images:
 
 <pre>
-pamscale -width 158 | pnmnorm | pamditherbw -threshold
+pamscale -width 158 | pnmnorm | pamditherbw -threshold | pbmtoascii -2x4
 </pre>
 
 should give good results.
 
-<A NAME="lbAF">&nbsp;</A>
-<H2>SEE ALSO</H2>
+<H2 id="seealso">SEE ALSO</H2>
 
 <A HREF="asciitopgm.html">asciitopgm</A>
 <A HREF="pbm.html">pbm</A>
 
-<A NAME="lbAG">&nbsp;</A>
-<H2>AUTHOR</H2>
+<H2 id="author">AUTHOR</H2>
 
 Copyright (C) 1988, 1992 by Jef Poskanzer.
 
 <HR>
-<A NAME="index">&nbsp;</A>
-<H2>Table Of Contents</H2>
+<H2 id="index">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">OPTIONS</A>
-<LI><A HREF="#lbAF">SEE ALSO</A>
-<LI><A HREF="#lbAG">AUTHOR</A>
+<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="#author">AUTHOR</A>
 </UL>
 </BODY>
 </HTML>