about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pnmquant.html41
-rw-r--r--ppmtowinicon.html34
-rw-r--r--winicontoppm.html36
3 files changed, 57 insertions, 54 deletions
diff --git a/pnmquant.html b/pnmquant.html
index f86cc2e9..284e2209 100644
--- a/pnmquant.html
+++ b/pnmquant.html
@@ -2,16 +2,14 @@
 <HTML><HEAD><TITLE>Pnmquant User Manual</TITLE></HEAD>
 <BODY>
 <H1>pnmquant</H1>
-Updated: 22 October 2003
+Updated: 09 April 2013
 <BR>
 <A HREF="#index">Table Of Contents</A>
 
-<A NAME="lbAB">&nbsp;</A>
 <H2>NAME</H2>
 pnmquant - quantize the colors in a Netpbm image to a smaller set
 
-<A NAME="lbAC">&nbsp;</A>
-<H2>SYNOPSIS</H2>
+<H2 id="synopsis">SYNOPSIS</H2>
 
 <B>pnmquant</B>
 [<B>-center</B>|<B>-meancolor</B>|<B>-meanpixel</B>]
@@ -20,8 +18,7 @@ pnmquant - quantize the colors in a Netpbm image to a smaller set
 [<B>-spreadbrightness</B>|<B>-spreadluminosity</B>]
 <I>ncolors</I> [<I>pnmfile</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>.
 
@@ -45,13 +42,31 @@ directly than to run <B>pnmquant</B>.  You save the overhead of the
 Perl interpreter and creating two extra processes.  <B>pnmquant</B> is
 just a convenience.
 
+<p>Here is an example of the relationship between the programs:
+
+<p>This:
+
+<pre>
+<kbd>
+    $ pnmquant 256 myimage.pnm &gt;/tmp/colormap.pnm &gt;myimage256.pnm
+</kbd>
+</pre>
+
+<p>does essentially this:
+
+<pre>
+<kbd>
+    $ pnmcolormap 256 myimage.pnm &gt;/tmp/colormap.pnm
+    $ pnmremap -mapfile=/tmp/colormap.pnm myimage.pnm &gt;myimage256.pnm
+</kbd>
+</pre>
+
 <p><b>pnmquant</b> did not exist before Netpbm 9.21 (January 2001).
 Before that, <b>ppmquant</b> did the same thing, but only on PPM
 images.  <b>ppmquant</b> continues to exist, but is only a front end
 (for name compatibility) to <b>pnmquant</b>.
 
-<A NAME="lbAE">&nbsp;</A>
-<H2>SEE ALSO</H2>
+<H2 id="seealso">SEE ALSO</H2>
 
 <B><A HREF="pnmcolormap.html">pnmcolormap</A></B>,
 <B><A HREF="pnmremap.html">pnmremap</A></B>,
@@ -62,13 +77,11 @@ images.  <b>ppmquant</b> continues to exist, but is only a front end
 <B><A HREF="pnm.html">pnm</A></B>
 
 <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">SEE ALSO</A>
+<LI><A HREF="#synopsis">SYNOPSIS</A>
+<LI><A HREF="#description">DESCRIPTION</A>
+<LI><A HREF="#seealso">SEE ALSO</A>
 </UL>
 </BODY>
 </HTML>
diff --git a/ppmtowinicon.html b/ppmtowinicon.html
index 14aa9b11..7c71e3a8 100644
--- a/ppmtowinicon.html
+++ b/ppmtowinicon.html
@@ -6,13 +6,11 @@ Updated: 01 May 2004
 <BR>
 <A HREF="#index">Table Of Contents</A>
 
-<A NAME="lbAB">&nbsp;</A>
 <H2>NAME</H2>
 
 ppmtowinicon - convert PPM image into a Windows .ico file
 
-<A NAME="lbAC">&nbsp;</A>
-<H2>SYNOPSIS</H2>
+<H2 id="synopsis">SYNOPSIS</H2>
 
 <B>ppmtowinicon</B>
 
@@ -22,8 +20,7 @@ ppmtowinicon - convert PPM image into a Windows .ico file
 
 [<I>ppmfile</I> [<i>andfile</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>.
 
@@ -32,7 +29,7 @@ produces a Microsoft Windows .ico file as output.
 
 <P>A Windows icon contains 1 or more images, at different resolutions
 and color depths.  When Windows wants to display the icon, it searches
-through the images to find the one the best matches the number of colors
+through the images to find the one that best matches the number of colors
 and resolution of the display.
 
 <P>Microsoft recommends including at least the following formats in each
@@ -76,13 +73,12 @@ exclusive-or'ed together.  So there is a sort of reverse video effect.
 straightforward transparency, use the <b>-truetransparent</b> option.
 This causes <b>ppmtowinicon</b> to make the base image black
 everywhere your transparency mask says transparent, regardless of what
-color you input image is at that location.
+color your input image is at that location.
 
 <p>If you don't specify <b>-andmask</b>, <b>ppmtowinicon</b> puts
 all-opaque and masks into the .ico file.
 
-<A NAME="lbAE">&nbsp;</A>
-<H2>OPTIONS</H2>
+<H2 id="options">OPTIONS</H2>
 
 <DL COMPACT>
 <DT><B>-andpgms</B>
@@ -102,31 +98,27 @@ video effect.  See the <a href="#transparency">transparency section</a>.
      
 </DL>
 
-<A NAME="lbAF">&nbsp;</A>
-<H2>SEE ALSO</H2>
+<H2 id="seealso">SEE ALSO</H2>
 
 <B><A HREF="winicontoppm.html">winicontoppm</A></B>,
 <B><A HREF="ppm.html">ppm</A></B>
 <B><A HREF="pgm.html">pgm</A></B>
 
-<A NAME="lbAG">&nbsp;</A>
-<H2>AUTHOR</H2>
+<H2 id="author">AUTHOR</H2>
 
 Copyright (C) 2000 by Lee Benfield.
 
 <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="#synopsis">SYNOPSIS</A>
+<LI><A HREF="#description">DESCRIPTION</A>
 <UL>
   <LI><A HREF="#transparency">TRANSPARENCY</A>
   </UL>
-<LI><A HREF="#lbAE">OPTIONS</A>
-<LI><A HREF="#lbAF">SEE ALSO</A>
-<LI><A HREF="#lbAG">AUTHOR</A>
+<LI><A HREF="#options">OPTIONS</A>
+<LI><A HREF="#seealso">SEE ALSO</A>
+<LI><A HREF="#author">AUTHOR</A>
 </UL>
 </BODY>
 </HTML>
diff --git a/winicontoppm.html b/winicontoppm.html
index e5409fd2..c077495d 100644
--- a/winicontoppm.html
+++ b/winicontoppm.html
@@ -6,12 +6,10 @@ Updated: 23 March 2003
 <BR>
 <A HREF="#index">Table Of Contents</A>
 
-<A NAME="lbAB">&nbsp;</A>
 <H2>NAME</H2>
 winicontoppm - convert a Windows .ico image into 1 or more PPM images
 
-<A NAME="lbAC">&nbsp;</A>
-<H2>SYNOPSIS</H2>
+<H2 id="synopsis">SYNOPSIS</H2>
 
 <B>winicontoppm</B>
 [<B>-writeands</B>]
@@ -21,8 +19,7 @@ winicontoppm - convert a Windows .ico image into 1 or more PPM images
 [<I>iconfile</I>]
 [<I>ppmdestfile</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>.
 
@@ -48,8 +45,7 @@ the string <B>xor</B> as in <I>ppmdestfile</I><B>_xor.ppm</B> or
 32 bits per pixel.  Before Netpbm 10.15 (April 2003), it could not handle
 24 and 32.
 
-<A NAME="lbAE">&nbsp;</A>
-<H2>OPTIONS</H2>
+<H2 id="options">OPTIONS</H2>
 
 <DL COMPACT>
 <DT><B>-writeands</B>
@@ -63,39 +59,41 @@ a separate PBM file.  It's name is of the form
 
 <DD>Extract all images from the .ico file.
 
+<p>If you specify neither this nor <b>-bestqual</b>, <b>winicontoppm</b>
+extracts the first image.
+
 <DT><B>-bestqual</B>
 
 <DD>Extract only the best quality (largest, then highest bpp) image
 from the .ico file.
 
+<p>If you specify neither this nor <b>-allicons</b>, <b>winicontoppm</b>
+extracts the first image.
+
 <DT><B>-multippm</B>
 
 <DD>Write all PPMs to a single file.
 
 </DL>
 
-<A NAME="lbAF">&nbsp;</A>
-<H2>SEE ALSO</H2>
+<H2 id="seealso">SEE ALSO</H2>
 
 <B><A HREF="ppmtowinicon.html">ppmtowinicon</A></B>,
 <B><A HREF="bmptopnm.html">bmptopnm</A></B>,
 <B><A HREF="ppm.html">ppm</A></B>
 
-<A NAME="lbAG">&nbsp;</A>
-<H2>AUTHOR</H2>
+<H2 id="author">AUTHOR</H2>
 
 Copyright (C) 2000, 2003 by Lee Benfield.
 
 <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>