ppmshift
Randomly shift image rows horizontally
TLDR
Shift image horizontally
$ ppmshift [shift] [input.ppm] > [output.ppm]
Random horizontal shift$ ppmshift 10 [input.ppm] > [output.ppm]
SYNOPSIS
ppmshift shift [file]
DESCRIPTION
ppmshift randomly shifts each row of a PPM image horizontally by a random amount up to the specified maximum. This creates a glitch-like distortion effect where the image appears to have horizontal tearing or displacement.A random seed option allows reproducible results. The effect is similar to analog video signal interference or digital glitch art. Part of the Netpbm toolkit.
PARAMETERS
SHIFT
Maximum shift amount.FILE
Input PPM file.-seed N
Random seed.
INSTALL
sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm
CAVEATS
Random per-row shift. Part of Netpbm suite.
HISTORY
ppmshift was created as part of Netpbm for image distortion effects.