From a5efb048aea2cdf447fd465cedf3676f28f0825c Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 20 Nov 2008 17:50:07 +0000 Subject: "miscellaneous update" git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@770 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- ppmshift.html | 48 +++++++++++++++++++++--------------------------- 1 file changed, 21 insertions(+), 27 deletions(-) (limited to 'ppmshift.html') diff --git a/ppmshift.html b/ppmshift.html index 356731b9..7ac3125b 100644 --- a/ppmshift.html +++ b/ppmshift.html @@ -2,41 +2,40 @@ Ppmshift User Manual

ppmshift

-Updated: 16 November 1993 +Updated: 20 November 2008
Table Of Contents - 

NAME

ppmshift - shift lines of a PPM image left or right by a random amount -  -

SYNOPSIS

+

SYNOPSIS

ppmshift shift [ppmfile] -  -

DESCRIPTION

+

DESCRIPTION

This program is part of Netpbm. -

ppmshift reads a PPM image as input. Shifts every row of -image data to the left or right by a certain amount. The shift -parameter determines by how many pixels a row is to be shifted at -most. +

ppmshift 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 shift +pixels. The random distribution is uniform, centered at zero movement. + +

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.

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. -  -

EXAMPLE

+

EXAMPLE

-Check this out: Save your favourite model's picture from something like +

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 -The resulting picture looks like the image being reflected on a water +

The resulting picture looks like the image being reflected on a water surface with slight ripples. -  -

SEE ALSO

+

SEE ALSO

ppm, pamcut, @@ -69,22 +67,18 @@ surface with slight ripples. pnmcat -  - -

AUTHOR

+

AUTHOR

Copyright (C) 1993 by Frank Neumann
-  -

Table Of Contents

+

Table Of Contents

-- cgit 1.4.1