ppmtv

Make a PPM Image look like taken from an American TV. Dim every other row of image data down by the specified dim factor (a number between 0 and 1). More information: <https://netpbm.sourceforge.net/doc/ppmtv.html>.

Install

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

Make a PPM Image look like taken from an American TV. Dim every other row of image data down by the specified dim factor (a number between 0 and 1). More information: <https://netpbm.sourceforge.net/doc/ppmtv.html>.

  • Give the PPM image an American TV appearance:
    ppmtv dim_factor path/to/file.ppm > path/to/output.ppm
  • Suppress all informational messages:
    ppmtv -quiet
  • Display version:
    ppmtv -version

© tl;dr; authors and contributors