pamflip
Flip or rotate a PAM or PNM image. More information: <https://netpbm.sourceforge.net/doc/pamflip.html>.
Install
- All systems
-
curl cmd.cat/pamflip.sh
- Debian
-
apt-get install netpbm
- Ubuntu
-
apt-get install netpbm
- Arch Linux
-
pacman -S netpbm
- 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
- Dockerfile
- dockerfile.run/pamflip
Flip or rotate a PAM or PNM image. More information: <https://netpbm.sourceforge.net/doc/pamflip.html>.
-
Rotate the input image counter-clockwise for a specific degree:
pamflip -rotate90|180|270 path/to/input.pam > path/to/output.pam
-
Flip left for right:
pamflip -leftright path/to/input.pam > path/to/output.pam
-
Flip top for bottom:
pamflip -topbottom path/to/input.pam > path/to/output.pam
-
Flip the input image on the main diagonal:
pamflip -transpose path/to/input.pam > path/to/output.pam
© tl;dr; authors and contributors