summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-12-31 00:42:10 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-12-31 00:42:10 +0000
commitc66acd4437d9554996fca9e87f9dff946e143654 (patch)
tree9c50fc30fc72c190f6aba8eee1c52d7608766ee6
parent0471feecc263a7ce7d9233b4792a9865e80e6937 (diff)
downloadnetpbm-mirror-c66acd4437d9554996fca9e87f9dff946e143654.tar.gz
netpbm-mirror-c66acd4437d9554996fca9e87f9dff946e143654.tar.xz
netpbm-mirror-c66acd4437d9554996fca9e87f9dff946e143654.zip
miscellaneous update
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@1618 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--pbmclean.html11
-rw-r--r--xpmtoppm.html57
2 files changed, 27 insertions, 41 deletions
diff --git a/pbmclean.html b/pbmclean.html
index ab965e1f..35efa4e3 100644
--- a/pbmclean.html
+++ b/pbmclean.html
@@ -52,17 +52,6 @@ isolated.
 black pixels in an otherwise white field, each of those pixels is isolated,
 so <b>pbmclean</b> erases them - turns both white.
 
-<p>But it isn't that simple, because as <b>pbmclean</b> progresses, its having
-erased a pixel may make another pixel isolated that isn't isolated in the
-original image.  Consider a straight vertical line of 4 pixels, with
-<b>-minneigbors</b> of two.  <b>pbmclean</b> considers the top pixel first, and
-finding that it has only one neighbor (the pixel below it), erases it.  The it
-considers the second pixel, and erases it for the same reason, even though it
-has two neighbors in the original image.  In this way, <b>pbmclean</b>
-ultimately erases the entire line.  Because of this weirdness, you probably
-don't want <b>-minneighbors</b> greater than one.  But you may want to run
-<b>pbmclean</b> multiple times with <b>-minneighbors</b> of one.
-
 <P>The default minimum 1 pixel &mdash; <b>pbmclean</b> flips only completely
 isolated pixels.
 
diff --git a/xpmtoppm.html b/xpmtoppm.html
index dbeed4ee..dad8dfdc 100644
--- a/xpmtoppm.html
+++ b/xpmtoppm.html
@@ -2,17 +2,15 @@
 <HTML><HEAD><TITLE>Xpmtoppm User Manual</TITLE></HEAD>
 <BODY>
 <H1>xpmtoppm</H1>
-Updated: 05 October 2005
+Updated: 30 December 2011
 <BR>
 <A HREF="#index">Table Of Contents</A>
 
-<A NAME="lbAB">&nbsp;</A>
 <H2>NAME</H2>
 
 xpmtoppm - convert an X11 pixmap to a PPM image
 
-<A NAME="lbAC">&nbsp;</A>
-<H2>SYNOPSIS</H2>
+<H2 id="synopsis">SYNOPSIS</H2>
 
 <B>xpmtoppm</B>
 
@@ -21,16 +19,14 @@ xpmtoppm - convert an X11 pixmap to a PPM image
 
 [<I>xpmfile</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>xpbtoppm</b> reads an X11 pixmap (XPM version 1 or 3) as input
 and produces a PPM image as output.
 
-<A NAME="lbAE">&nbsp;</A>
-<H2>OPTIONS</H2>
+<H2 id="options">OPTIONS</H2>
 
 <DL COMPACT>
 <DT><B>--alphaout=</B><I>alpha-filename</I>
@@ -61,41 +57,42 @@ Netpbm 10.30 (October 2005), the limit was 2K.
 
 </DL>
 
-<A NAME="lbAF">&nbsp;</A>
-<H2>LIMITATIONS</H2>
+<H2 id="limitations">LIMITATIONS</H2>
 
-<p>The recogized XPM version 3 features are limited.  Comments can
-only be single lines and there must be for every pixel a default
-colorname for a color type visual.
+<p><b>xpmtoppm</b> recognizes only a limited set of the features of XPM
+Version 3; i.e. it rejects as invalid many valid XPM images.
 
-<A NAME="lbAG">&nbsp;</A>
-<H2>SEE ALSO</H2>
+<p>The only place a comment block is valid is starting in Column 1 of the
+line immediately after &quot;static char ...&quot;.
+
+<p>In addition, <b>ppmtoxpm</b> properly recognizes any single-line
+comment that begins in Column 1 in the color table part of the file.
+
+<p>There must be for every pixel a default colorname for a color type visual.
+
+<H2 id="seealso">SEE ALSO</H2>
 
 <B><A HREF="ppmtoxpm.html">ppmtoxpm</A></B>,
 <B><A HREF="pamcomp.html">pamcomp</A></B>,
 <B><A HREF="ppm.html">ppm</A></B>
 
-<A NAME="lbAH">&nbsp;</A>
-<H2>AUTHOR</H2>
+<H2 id="author">AUTHOR</H2>
 
 <P>Copyright (C) 1991 by Jef Poskanzer.
 
-<P>Upgraded to work with XPM version 3 by
-Arnaud&nbsp;Le&nbsp;Hors&nbsp;&lt;<A
-HREF="mailto:lehors@mirsa.inria.fr">lehors@mirsa.inria.fr</A>&gt;, Tue
-Apr 9 1991.
+<P>Upgraded to work with XPM version 3 by Arnaud Le
+Hors&lt;<A HREF="mailto:lehors@mirsa.inria.fr">lehors@mirsa.inria.fr</A>&gt;,
+Tue Apr 9 1991.
 
 <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">LIMITATIONS</A>
-<LI><A HREF="#lbAG">SEE ALSO</A>
-<LI><A HREF="#lbAH">AUTHOR</A>
+<LI><A HREF="#synopsis">SYNOPSIS</A>
+<LI><A HREF="#description">DESCRIPTION</A>
+<LI><A HREF="#options">OPTIONS</A>
+<LI><A HREF="#limitations">LIMITATIONS</A>
+<LI><A HREF="#seealso">SEE ALSO</A>
+<LI><A HREF="#author">AUTHOR</A>
 </UL>
 </BODY>
 </HTML>