LinuxCommandLibrary

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.

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community