about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--icontopbm.html2
-rw-r--r--pamtopdbimg.html2
-rw-r--r--pamwipeout.html2
-rw-r--r--pbmtoicon.html2
-rw-r--r--pgmhist.html36
-rw-r--r--pnmsmooth.html2
-rw-r--r--ppmtoapplevol.html2
7 files changed, 35 insertions, 13 deletions
diff --git a/icontopbm.html b/icontopbm.html
index 20752f16..684e230c 100644
--- a/icontopbm.html
+++ b/icontopbm.html
@@ -33,7 +33,7 @@ world besides Sun icons, and in 2010, the Sun variety isn't even common.
 
 <p>In releases before 10.53, you can use the <b>sunicontopnm</b> documentation
 for <b>icontopbm</b>, as long as you recognize that any change the
-<b>sunicontopnm</b> manual says happened in or after Neptbm 10.53 doesn't
+<b>sunicontopnm</b> manual says happened in or after Netpbm 10.53 doesn't
 apply to <b>icontopbm</b>.
 
 </BODY>
diff --git a/pamtopdbimg.html b/pamtopdbimg.html
index daf536be..e8ad1d64 100644
--- a/pamtopdbimg.html
+++ b/pamtopdbimg.html
@@ -30,7 +30,7 @@ pamtodbimg - convert a Netpbm image to a Palm Pilot Image Viewer PDB Image
 <p><b>pamtopdbimg</b> reads a Netpbm image as input and produced a Palm Pilot
 Image Viewer image (and Image record in a PDB file) as output.
 
-<p>If the Neptbm image is black and white, the Pilot image is monochrome.
+<p>If the Netpbm image is black and white, the Pilot image is monochrome.
 Otherwise, the Pilot image is either 4-level or 16-level grayscale, depending
 on the <b>-4depth</b> option.
 
diff --git a/pamwipeout.html b/pamwipeout.html
index f6847634..7f35a823 100644
--- a/pamwipeout.html
+++ b/pamwipeout.html
@@ -25,7 +25,7 @@ You may use double hyphens instead of single hyphen to denote options.</p>
 
 <p>This program is part of <a href="http://netpbm.sourceforge.net/doc/index.html">Netpbm</a>.</p>
 
-<p>The <b>pamwipeout</b> utility takes a Neptbm image as input and the uses
+<p>The <b>pamwipeout</b> utility takes a Netpbm image as input and the uses
 two opposite edges of the image to wipe out anything in between.  You can use
 it in combination with <b>pamcut</b> and <b>pnmpaste</b> / <b>pamcomp</b> to
 remove unwanted parts of a larger image.  The program replaces the pixels in
diff --git a/pbmtoicon.html b/pbmtoicon.html
index 88f752d6..6a6f7602 100644
--- a/pbmtoicon.html
+++ b/pbmtoicon.html
@@ -33,7 +33,7 @@ world besides Sun icons, and in 2010, the Sun variety isn't even common.
 
 <p>In releases before 10.53, you can use the <b>pbmtosunicon</b> documentation
 for <b>pbmtoicon</b>, as long as you recognize that any change the
-<b>pbmtosunicon</b> manual says happened in or after Neptbm 10.53 doesn't
+<b>pbmtosunicon</b> manual says happened in or after Netpbm 10.53 doesn't
 apply to <b>pbmtoicon</b>.
 
 </BODY>
diff --git a/pgmhist.html b/pgmhist.html
index 2f9e2f4e..9c3f03b1 100644
--- a/pgmhist.html
+++ b/pgmhist.html
@@ -16,6 +16,8 @@ pgmhist - print a histogram of the values in a PGM image
 
 [<b>-median</b>, <b>-quartile</b>, <b>-decile</b>]
 
+[<b>-forensic</b>]
+
 [<b>-machine</b>]
 
 [<I>pgmfile</I>]
@@ -53,27 +55,47 @@ You must specify exactly one of the ramp type options.
 <p>You may specify at most one of <b>-median</b>, <b>-quartile</b>, and
 <b>-decile</b>.
 
-<P>This option was new in Neptbm 10.61 (December 2012).
+<P>This option was new in Netpbm 10.61 (December 2012).
 
 <DT><B>-quartile</B>
 <DD>
 
-<P>This option causes <b>pgmhist</b> to print the four quartile gray value.
+<P>This option causes <b>pgmhist</b> to print the four quartile gray values.
 
 <p>You may specify at most one of <b>-median</b>, <b>-quartile</b>, and
 <b>-decile</b>.
 
-<P>This option was new in Neptbm 10.61 (December 2012).
+<P>This option was new in Netpbm 10.61 (December 2012).
 
 <DT><B>-decile</B>
 <DD>
      
-<P>This option causes <b>pgmhist</b> to print the ten decile gray value.
+<P>This option causes <b>pgmhist</b> to print the ten decile gray values.
 
 <p>You may specify at most one of <b>-median</b>, <b>-quartile</b>, and
 <b>-decile</b>.
 
-<P>This option was new in Neptbm 10.61 (December 2012).
+<P>This option was new in Netpbm 10.61 (December 2012).
+
+<dt><b>-forensic</b><dd>
+
+<p>With this option, <b>pgmhist</b> works on images that contain invalid gray
+values.  Normally, like most Netpbm programs, <b>pgmhist</b> fails if it
+encounters a gray value greater than the maxval that the image declares.  The
+presence of such a value means the image is invalid, so the pixels have no
+meaning.  But with <b>-forensic</b>, <b>pgmhist</b> produces a histogram
+of the actual gray values without regard to maxval.  It issues messages
+summarizing the invalid pixels if there are any.
+
+<p>One use for this is to diagnose the problem that caused the invalid Netpbm
+image to exist.
+
+<p>There is a small exception to the ability of <b>pgmhist</b> to process
+invalid pixels even with <b>-forensic</b>: it can never process a gray value
+greater than 65535.  Note that in the rarely used Plain PGM format, it is
+possible for a number greater than that to appear where a gray value belongs.
+
+<p>This option was new in Netpbm 10.66 (March 2014).
 
 <DT><B>-machine</B>
 <DD>
@@ -91,12 +113,12 @@ the gray values.  The line consists of two tokens separated by a space.  The
 first is the gray value; the second is the number of pixels in the image that
 have that gray value.  Both are decimal numbers without leading zeroes.
 
-<P>This option was new in Neptbm 10.61 (December 2012).
+<P>This option was new in Netpbm 10.61 (December 2012).
 
 </DL>
 
 
-<H2 id="name">SEE ALSO</H2>
+<H2 id="seealso">SEE ALSO</H2>
 
 <A HREF="pnmnorm.html">pnmnorm</A>,
 <A HREF="ppmhist.html">ppmhist</A>
diff --git a/pnmsmooth.html b/pnmsmooth.html
index 0871ca1a..7acd7bb0 100644
--- a/pnmsmooth.html
+++ b/pnmsmooth.html
@@ -76,7 +76,7 @@ convolution matrix.  It writes to Standard Output a <b>pnmconvol</b>
 <b>-matrix</b> option value that represents the matrix.  It does not
 invoke <b>pnmconvol</b> and does not produce an output image.
 
-<p>Before Neptbm 10.49 (December 2009), this option is rather different.
+<p>Before Netpbm 10.49 (December 2009), this option is rather different.
 It takes a file name as a value, and it writes to that file the
 convolution matrix as a PGM file (as used to be the normal input for
 <b>pnmconvol</b>).
diff --git a/ppmtoapplevol.html b/ppmtoapplevol.html
index cce263be..22e39632 100644
--- a/ppmtoapplevol.html
+++ b/ppmtoapplevol.html
@@ -40,7 +40,7 @@ it 12 rows if it isn't.
 
 <H2 id="history">HISTORY</H2>
 
-<p><b>ppmtoapplevol</b> was new in Neptbm 10.54 (March 2011).
+<p><b>ppmtoapplevol</b> was new in Netpbm 10.54 (March 2011).
 
 <HR>
 <H2 id="index">Table Of Contents</H2>