summary refs log tree commit diff
path: root/pamarith.html
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-07-29 02:10:06 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-07-29 02:10:06 +0000
commit0d9b67bb866e97ed779d4c4b688065142c65f49c (patch)
tree7cdd7b32c59d50fc60be6cf6bf1997c5f73b30c0 /pamarith.html
parent650f44d79f9c628c1a6b9da2f6f22d08098917e8 (diff)
downloadnetpbm-mirror-0d9b67bb866e97ed779d4c4b688065142c65f49c.tar.gz
netpbm-mirror-0d9b67bb866e97ed779d4c4b688065142c65f49c.tar.xz
netpbm-mirror-0d9b67bb866e97ed779d4c4b688065142c65f49c.zip
"miscellaneous update"
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@364 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'pamarith.html')
-rw-r--r--pamarith.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/pamarith.html b/pamarith.html
index f79e2cde..9bd5c1a1 100644
--- a/pamarith.html
+++ b/pamarith.html
@@ -145,7 +145,8 @@ maxval.
 
 <h3 id="operations">The Operations</h3>
 
-<p>Most of the operations are obvious from the option name.
+<p>Most of the operations are obvious from the option name.  The following
+paragraphs cover those that aren't.
 
 <P><B>-subtract</B> subtracts a value in the right input image from a
 value in the left input image.
@@ -178,8 +179,11 @@ say A is greater than B if A is less than B.
 <p><b>-compare</b> was new in Netpbm 10.13 (December 2002).
 
 <p><b>-and</b>, <b>-nand</b>, <b>-or</b>, <b>-nor</b>, and <b>-xor</b>
-consider the input and output images to contain bit strings; they compute
-bitwise logic operations.
+consider the input and output images to contain bit strings; they
+compute bitwise logic operations.  Note that if the maxval is 1, you
+can also look at these as logic operations on boolean input values.
+See section <a href="#maxval">Maxval</a> for the special meaning of
+maxval with respect to bit string operations such as these.
 
 <p><b>-shiftleft</b> and <b>-shiftright</b> consider the left input
 image and output image to contain bit strings.  They compute a bit