LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ppmshift

Randomly shift image rows horizontally

TLDR

Shift image horizontally
$ ppmshift [shift] [input.ppm] > [output.ppm]
copy
Random horizontal shift
$ ppmshift 10 [input.ppm] > [output.ppm]
copy

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
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

CAVEATS

Random per-row shift. Part of Netpbm suite.

HISTORY

ppmshift was created as part of Netpbm for image distortion effects.

SEE ALSO

ppm(5), ppmspread(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid