pnmshear

Shear a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnmshear.html>.

Install

All systems
curl cmd.cat/pnmshear.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

Shear a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnmshear.html>.

  • Shear a PNM image by the specified angle:
    pnmshear angle path/to/input.pnm > path/to/output.pnm
  • Specify the color of the background in the sheared image:
    pnmshear -background blue angle path/to/input.pnm > path/to/output.pnm
  • Do not perform anti-aliasing:
    pnmshear -noantialias angle path/to/input.pnm > path/to/output.pnm

© tl;dr; authors and contributors