pnmsmooth

Smooth out a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnmsmooth.html>.

Install

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

Smooth out a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnmsmooth.html>.

  • Smooth out a PNM image using a convolution matrix of size 3x3:
    pnmsmooth path/to/input.pnm > path/to/output.pnm
  • Smooth out a PNM image using a convolution matrix of size width times height:
    pnmsmooth -width width -height height path/to/input.pnm > path/to/output.pnm

© tl;dr; authors and contributors