LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pnmflip

Flip and rotate PNM images

TLDR

Flip horizontally
$ pnmflip -lr [input.pnm] > [output.pnm]
copy
Flip vertically
$ pnmflip -tb [input.pnm] > [output.pnm]
copy
Rotate 90 clockwise
$ pnmflip -cw [input.pnm] > [output.pnm]
copy
Rotate 90 counter-clockwise
$ pnmflip -ccw [input.pnm] > [output.pnm]
copy
Rotate 180
$ pnmflip -r180 [input.pnm] > [output.pnm]
copy

SYNOPSIS

pnmflip [options] [file]

DESCRIPTION

pnmflip flips and rotates PNM images. Part of Netpbm toolkit for image manipulation. Supports all basic geometric transformations.

PARAMETERS

-lr

Flip left-right.
-tb
Flip top-bottom.
-cw
Rotate 90 degrees clockwise.
-ccw
Rotate 90 degrees counter-clockwise.
-r180
Rotate 180 degrees.
-transpose
Transpose rows and columns.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm-extras
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

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