summary refs log tree commit diff
path: root/pamtopnm.html
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-07-11 03:14:39 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-07-11 03:14:39 +0000
commita87703a515ec08a0637c2b3b3e6cd0ef1a7e78ff (patch)
tree0e462a89e51e65b0d293104f437aa371d8e56ee1 /pamtopnm.html
parente4dbb262ce92440414dad7735f9b9264e47cffa0 (diff)
downloadnetpbm-mirror-a87703a515ec08a0637c2b3b3e6cd0ef1a7e78ff.tar.gz
netpbm-mirror-a87703a515ec08a0637c2b3b3e6cd0ef1a7e78ff.tar.xz
netpbm-mirror-a87703a515ec08a0637c2b3b3e6cd0ef1a7e78ff.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@3893 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'pamtopnm.html')
-rw-r--r--pamtopnm.html103
1 files changed, 53 insertions, 50 deletions
diff --git a/pamtopnm.html b/pamtopnm.html
index 46b71477..340b6a5e 100644
--- a/pamtopnm.html
+++ b/pamtopnm.html
@@ -1,28 +1,27 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
-<HTML><HEAD><TITLE>Pamtopnm User Manual</TITLE></HEAD>
-<BODY>
-<H1>pamtopnm</H1>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
+<html><head><title>Pamtopnm User Manual</title></head>
+<body>
+<h1>pamtopnm</h1>
 Updated: 02 February 2018
-<BR>
-<A HREF="#index">Table Of Contents</A>
-
-<H2 id="name">NAME</H2>
+<br>
+<a href="#index">Table Of Contents</a>
 
+<h2>NAME</h2>
 pamtopnm - convert PAM image to PBM, PGM, or PPM
 
-<H2 id="synopsis">SYNOPSIS</H2>
+<h2 id="synopsis">SYNOPSIS</h2>
 
-<B>pamtopnm</B>
+<b>pamtopnm</b>
 
-[<B>-assume</B>]
+[<b>-assume</b>]
 
-[<I>pnmfile</I>]
+[<i>pnmfile</i>]
 
-<P>Minimum unique abbreviation of option is acceptable.  You may use double
+<p>Minimum unique abbreviation of option is acceptable.  You may use double
 hyphens instead of single hyphen to denote options.  You may use white
 space in place of the equals sign to separate an option name from its value.
 
-<H2 id="description">DESCRIPTION</H2>
+<h2 id="description">DESCRIPTION</h2>
 
 <p>This program is part of <a href="index.html">Netpbm</a>.
 
@@ -30,14 +29,14 @@ space in place of the equals sign to separate an option name from its value.
 equivalent PBM, PGM, or PPM (i.e. PNM) image, whichever is most
 appropriate, as output.
 
-<P><B>pamtopnm</B> assumes the PAM image represents the information
+<p><b>pamtopnm</b> assumes the PAM image represents the information
 required for a PBM, PGM, or PPM image if its tuple type is
 "BLACKANDWHITE", "GRAYSCALE", or "RGB"
 and its depth and maxval are appropriate.  If this is not the case,
-<B>pamtopnm</B> fails.
+<b>pamtopnm</b> fails.
 
-<P>However, you can override the tuple type requirement with the
-<B>-assume</B> option.
+<p>However, you can override the tuple type requirement with the
+<b>-assume</b> option.
 
 <p><b>pamtopnm</b> produces a PPM image if the input PAM has depth 3 or 4; it
 produces PGM or PBM if the input PAM has depth 1 or 2.  Whether it produced
@@ -56,39 +55,44 @@ equivalent PGM, and you can use <b>pamthreshold</b> to convert a PGM image you
 know is black and white to a black and white PAM image and then
 use <b>pamtopnm</b> to convert that to PBM.
   
-<P>As with any Netpbm program that reads PAM images, <B>pamtopnm</B>
+<p>As with any Netpbm program that reads PAM images, <b>pamtopnm</b>
 also reads PNM images as if they were PAM.  In that case,
-<B>pamtopnm</B>'s functions reduces to simply copying the input to the
+<b>pamtopnm</b>'s functions reduces to simply copying the input to the
 output.  But this can be useful in a program that doesn't know whether
 its input is PAM or PNM but needs to feed it to a program that only
 recognizes PNM.
 
-<H2 id="options">OPTIONS</H2>
+<h2 id="options">OPTIONS</h2>
+
+<p>In addition to the options common to all programs based on libnetpbm
+(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
+Common Options</a>), <b>pamtopnm</b> recognizes the following
+command line option:
 
-<DL COMPACT>
-<DT><B>-assume</B>
+<dl compact>
+<dt><b>-assume</b>
 
-<DD>When you specify <B>-assume</B>, you tell <B>pamtopnm</B> that you
+<dd>When you specify <b>-assume</b>, you tell <b>pamtopnm</b> that you
 personally vouch for the fact that the tuples contain the same data as
 belongs in the channels of a PBM, PGM, or PPM file.  The depth must
 still conform, though, so to truly force a conversion, you may have to
-run the input through <B>pamchannel</B> first.  But be careful with
-<B>-assume</B>.  When you -assume, you make an -ass of u and me.
+run the input through <b>pamchannel</b> first.  But be careful with
+<b>-assume</b>.  When you -assume, you make an -ass of u and me.
 
-</DL>
+</dl>
 
-<H2 id="seealso">SEE ALSO</H2>
+<h2 id="seealso">SEE ALSO</h2>
 
-<B><A HREF="pbmtopgm.html">pbmtopgm</A></B>,
-<B><A HREF="pamditherbw.html">pamditherbw</A></B>,
-<B><A HREF="pgmtoppm.html">pgmtoppm</A></B>,
-<B><A HREF="ppmtopgm.html">ppmtopgm</A></B>,
-<B><A HREF="pamthreshold.html">pamthreshold</A></B>,
-<B><A HREF="pam.html">pam</A></B>,
-<B><A HREF="pnm.html">pnm</A></B>,
-<B><A HREF="pbm.html">pbm</A></B>,
-<B><A HREF="pgm.html">pgm</A></B>,
-<B><A HREF="ppm.html">ppm</A></B>
+<b><a href="pbmtopgm.html">pbmtopgm</a></b>,
+<b><a href="pamditherbw.html">pamditherbw</a></b>,
+<b><a href="pgmtoppm.html">pgmtoppm</a></b>,
+<b><a href="ppmtopgm.html">ppmtopgm</a></b>,
+<b><a href="pamthreshold.html">pamthreshold</a></b>,
+<b><a href="pam.html">pam</a></b>,
+<b><a href="pnm.html">pnm</a></b>,
+<b><a href="pbm.html">pbm</a></b>,
+<b><a href="pgm.html">pgm</a></b>,
+<b><a href="ppm.html">ppm</a></b>
 
 
 <h2 id="history">HISTORY</h2>
@@ -96,15 +100,14 @@ run the input through <B>pamchannel</B> first.  But be careful with
 <p><b>pamtopnm</b> was new, along with the PAM format, in Netpbm
 9.7 (August 2000).
 
-<HR>
-<A NAME="index">&nbsp;</A>
-<H2>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="#history">HISTORY</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="#history">HISTORY</a>
+</ul>
+</body>
+</html>