summary refs log tree commit diff
path: root/pbmtopgm.html
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-24 02:17:11 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-24 02:17:11 +0000
commitd06e8ef37fbe6594a5cd73a1c897a816db99f35c (patch)
tree2eded7e8c8839c78a484aee3c874c6ef605a5de6 /pbmtopgm.html
parentaed071d6acf292f6cd0dd2a00b1ab54101aa6009 (diff)
downloadnetpbm-mirror-d06e8ef37fbe6594a5cd73a1c897a816db99f35c.tar.gz
netpbm-mirror-d06e8ef37fbe6594a5cd73a1c897a816db99f35c.tar.xz
netpbm-mirror-d06e8ef37fbe6594a5cd73a1c897a816db99f35c.zip
miscellaneous update
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@3864 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'pbmtopgm.html')
-rw-r--r--pbmtopgm.html93
1 files changed, 47 insertions, 46 deletions
diff --git a/pbmtopgm.html b/pbmtopgm.html
index d499ea9e..3add5ed6 100644
--- a/pbmtopgm.html
+++ b/pbmtopgm.html
@@ -1,84 +1,85 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
-<HTML><HEAD><TITLE>Pbmtopgm User Manual</TITLE></HEAD>
-<BODY>
+<html><head><title>Pbmtopgm User Manual</title></head>
+<body>
 
-<H1>pbmtopgm</H1>
+<h1>pbmtopgm</h1>
 <p>Updated: 05 Feb 2003
 
-<A HREF="#index">Table Of Contents</A>
+<a href="#index">Table Of Contents</a>
 
-<A NAME="lbAB">&nbsp;</A>
-<H2>NAME</H2>
+<h2>NAME</h2>
 pbmtopgm - convert PBM image to PGM by averaging areas
 
-<A NAME="lbAC">&nbsp;</A>
-<H2>SYNOPSIS</H2>
+<h2 id="synopsis">SYNOPSIS</h2>
 
-<B>pbmtopgm </B>
-<I>width</I>
-<I>height</I>
-[<I>pbmfile</I>]
+<b>pbmtopgm </b>
+<i>width</i>
+<i>height</i>
+[<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>.
 
-<P><B>pbmtopgm</B> reads a PBM image as input.  It outputs a PGM image
+<p><b>pbmtopgm</b> reads a PBM image as input.  It outputs a PGM image
 in which each pixel's gray level is the average of the surrounding
 black and white input pixels.  The surrounding area is a rectangle of
-<I>width</I> by <I>height</I> pixels.
+<i>width</i> by <i>height</i> pixels.
 
-<P>In other words, this is a convolution.  <B>pbmtopgm</B> is similar
-to a special case of <B>pnmconvol</B>.
+<p>In other words, this is a convolution.  <b>pbmtopgm</b> is similar
+to a special case of <b>pnmconvol</b>.
 
-<P>You may need a <B>pnmsmooth</B> step after <B>pbmtopgm</B>.
+<p>You may need a <b>pnmsmooth</b> step after <b>pbmtopgm</b>.
 
-<P><B>pbmtopgm</B> has the effect of anti-aliasing bitmaps which
+<p><b>pbmtopgm</b> has the effect of anti-aliasing bitmaps which
 contain distinct line features.
 
-<P><B>pbmtopgm</B> works best with odd sample width and heights.
+<p><b>pbmtopgm</b> works best with odd sample width and heights.
 
-<P>You don't need <B>pbmtopgm</B> just to use a PGM program on a PBM
+<p>You don't need <b>pbmtopgm</b> just to use a PGM program on a PBM
 image.  Any PGM program (assuming it uses the Netpbm libraries to read
 the PGM input) takes PBM input as if it were PGM, with only the
 minimum and maximum gray levels.  So unless your convolution rectangle
 is bigger than one pixel, you're not gaining anything with a
-<B>pbmtopgm</B> step.
+<b>pbmtopgm</b> step.
 
 <p>The opposite transformation (which would turn a PGM into a PBM) is
 dithering.  See <b>pamditherbw</b>.
 
-<A NAME="lbAE">&nbsp;</A>
-<H2>SEE ALSO</H2>
+<h2 id="options">OPTIONS</h2>
 
-<B><A HREF="pamditherbw.html">pamditherbw</A></B>,
-<B><A HREF="pnmconvol.html">pnmconvol</A></B>,
-<B><A HREF="pbm.html">pbm</A></B>,
-<B><A HREF="pgm.html">pgm</A></B>
+<p>There are no command line options defined specifically
+for <b>pbmtopgm</b>, but it recognizes the options common to all
+programs based on libnetpbm (See <a href="index.html#commonoptions">
+Common Options</a>.)
 
-<A NAME="lbAF">&nbsp;</A>
-<H2>AUTHOR</H2>
+<h2 id="seealso">SEE ALSO</h2>
 
-<P>Copyright (C) 1990 by Angus Duggan.
-<P>Copyright (C) 1989 by Jef Poskanzer.
+<b><a href="pamditherbw.html">pamditherbw</a></b>,
+<b><a href="pnmconvol.html">pnmconvol</a></b>,
+<b><a href="pbm.html">pbm</a></b>,
+<b><a href="pgm.html">pgm</a></b>
 
-<P>Permission to use, copy, modify, and distribute this software and
+<h2 id="author">AUTHOR</h2>
+
+<p>Copyright (C) 1990 by Angus Duggan.
+<p>Copyright (C) 1989 by Jef Poskanzer.
+
+<p>Permission to use, copy, modify, and distribute this software and
 its documentation for any purpose and without fee is hereby granted,
 provided that the above copyright notice appear in all copies and that
 both that copyright notice and this permission notice appear in
 supporting documentation.  This software is provided "as is"
 without express or implied warranty.
 
-<HR>
-<A NAME="index">&nbsp;</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">SEE ALSO</A>
-<LI><A HREF="#lbAF">AUTHOR</A>
-</UL>
-</BODY>
-</HTML>
+<hr>
+<h2 id="index">Table Of Contents</h2>
+<ul>
+<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>