ppmshift

Shift the lines in a PPM image by a randomized amount. More information: <https://netpbm.sourceforge.net/doc/ppmshift.html>.

Install

All systems
curl cmd.cat/ppmshift.sh
Debian Debian
apt-get install netpbm
Ubuntu
apt-get install netpbm
Arch Arch Linux
pacman -S netpbm
image/svg+xml Kali Linux
apt-get install netpbm
CentOS
yum install netpbm-progs
Fedora
dnf install netpbm-progs
Windows (WSL2)
sudo apt-get update sudo apt-get install netpbm
OS X
brew install netpbm
Raspbian
apt-get install netpbm

Shift the lines in a PPM image by a randomized amount. More information: <https://netpbm.sourceforge.net/doc/ppmshift.html>.

  • Shift the lines in the input image by a randomized amount not exceeding s to the left or to the right:
    ppmshift s path/to/input_file.ppm > path/to/output_file.ppm

© tl;dr; authors and contributors