diff options
Diffstat (limited to 'pbmtoascii.html')
-rw-r--r-- | pbmtoascii.html | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/pbmtoascii.html b/pbmtoascii.html new file mode 100644 index 00000000..2375c53e --- /dev/null +++ b/pbmtoascii.html @@ -0,0 +1,74 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML><HEAD><TITLE>Pbmtoascii User Manual</TITLE></HEAD> +<BODY> +<H1>pbmtoascii</H1> +Updated: 11 August 2002 +<BR> +<A HREF="#index">Table Of Contents</A> + +<A NAME="lbAB"> </A> +<H2>NAME</H2> +pbmtoascii - convert a PBM image to 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> + +<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 +crude ASCII graphic image as output. + +<P>To convert back, use <A HREF="asciitopgm.html">asciitopgm</A>. + +<A NAME="lbAE"> </A> +<H2>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: + +<pre> +pamscale -width 158 | pnmnorm | pamditherbw -threshold +</pre> + +should give good results. + +<A NAME="lbAF"> </A> +<H2>SEE ALSO</H2> + +<A HREF="asciitopgm.html">asciitopgm</A> +<A HREF="pbm.html">pbm</A> + +<A NAME="lbAG"> </A> +<H2>AUTHOR</H2> + +Copyright (C) 1988, 1992 by Jef Poskanzer. + +<HR> +<A NAME="index"> </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">OPTIONS</A> +<LI><A HREF="#lbAF">SEE ALSO</A> +<LI><A HREF="#lbAG">AUTHOR</A> +</UL> +</BODY> +</HTML> |