summary refs log tree commit diff
path: root/ppmshift.html
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-11-20 17:50:07 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-11-20 17:50:07 +0000
commita5efb048aea2cdf447fd465cedf3676f28f0825c (patch)
tree59c10736b853c119e3bbffc2206a6537b9b11690 /ppmshift.html
parentfdfe62cfa8e7b87a2bd7ee8285be880f4927752f (diff)
downloadnetpbm-mirror-a5efb048aea2cdf447fd465cedf3676f28f0825c.tar.gz
netpbm-mirror-a5efb048aea2cdf447fd465cedf3676f28f0825c.tar.xz
netpbm-mirror-a5efb048aea2cdf447fd465cedf3676f28f0825c.zip
"miscellaneous update"
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@770 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'ppmshift.html')
-rw-r--r--ppmshift.html48
1 files changed, 21 insertions, 27 deletions
diff --git a/ppmshift.html b/ppmshift.html
index 356731b9..7ac3125b 100644
--- a/ppmshift.html
+++ b/ppmshift.html
@@ -2,41 +2,40 @@
 <HTML><HEAD><TITLE>Ppmshift User Manual</TITLE></HEAD>
 <BODY>
 <H1>ppmshift</H1>
-Updated: 16 November 1993
+Updated: 20 November 2008
 <BR>
 <A HREF="#index">Table Of Contents</A>
 
-<A NAME="lbAB">&nbsp;</A>
 <H2>NAME</H2>
 
 ppmshift - shift lines of a PPM image left or right by a random amount
 
-<A NAME="lbAC">&nbsp;</A>
-<H2>SYNOPSIS</H2>
+<H2 id="synopsis">SYNOPSIS</H2>
 
 <b>ppmshift</b>
 <I>shift</I>
 [<I>ppmfile</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>ppmshift</b> reads a PPM image as input.  Shifts every row of
-image data to the left or right by a certain amount.  The <i>shift</i>
-parameter determines by how many pixels a row is to be shifted at
-most.
+<p><b>ppmshift</b> reads a PPM image as input.  Shifts every row of image data
+to the left or right by a random amount, within a range of <i>shift</i>
+pixels.  The random distribution is uniform, centered at zero movement.
+
+<p>The randomness in the image is limited before Netpbm 10.37 (December
+2006) -- if you run the program twice in the same second, you may get
+identical output.
 
 <P>This is another one of those effects I intended to use for MPEG
 tests.  Unfortunately, this program will not help me here - it creates
 too random patterns to be used for animations.  Still, it might give
 interesting results on still images.
 
-<A NAME="lbAE">&nbsp;</A>
-<H2>EXAMPLE</H2>
+<H2 id="example">EXAMPLE</H2>
 
-Check this out: Save your favourite model's picture from something like
+<p>Check this out: Save your favourite model's picture from something like
 alt.binaries.pictures.supermodels (ok, or from any other picture source),
 convert it to ppm, and process it e.g. like this, assuming the picture is 
 800x600 pixels:
@@ -56,11 +55,10 @@ convert it to ppm, and process it e.g. like this, assuming the picture is
 
 </pre>
 
-The resulting picture looks like the image being reflected on a water 
+<p>The resulting picture looks like the image being reflected on a water 
 surface with slight ripples.
 
-<A NAME="lbAF">&nbsp;</A>
-<H2>SEE ALSO</H2>
+<H2 id="seealso">SEE ALSO</H2>
 
 <A HREF="ppm.html">ppm</A>,
 <A HREF="pamcut.html">pamcut</A>,
@@ -69,22 +67,18 @@ surface with slight ripples.
 <A HREF="pnmcat.html">pnmcat</A>
 
 
-<A NAME="lbAG">&nbsp;</A>
-
-<H2>AUTHOR</H2>
+<H2 id="author">AUTHOR</H2>
 
 Copyright (C) 1993 by Frank Neumann
 
 <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">EXAMPLE</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="#example">EXAMPLE</A>
+<LI><A HREF="#seealso">SEE ALSO</A>
+<LI><A HREF="#author">AUTHOR</A>
 </UL>
 </BODY>
 </HTML>