ppmtv
Apply TV scan line effect to images
TLDR
Apply TV scan line effect
$ ppmtv [input.ppm] > [output.ppm]
Read from stdin in a pipeline$ pnmtopnm [input.png] | ppmtv > [output.ppm]
SYNOPSIS
ppmtv [ppmfile]
DESCRIPTION
ppmtv applies a CRT television scan line effect to PPM images, simulating the appearance of an old interlaced TV display by darkening alternating rows. Reads from standard input if no file is specified. Part of the Netpbm toolkit.
INSTALL
sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm
CAVEATS
Input must be in PPM format. Use conversion tools (e.g., jpegtopnm, pngtopam) to convert other formats first.
SEE ALSO
ppmquant(1), pamdeinterlace(1), netpbm(1)