ppmntsc
Make the RGB colors in a PPM image compatible with NTSC or PAL color systems. More information: <https://netpbm.sourceforge.net/doc/ppmntsc.html>.
Install
- All systems
-
curl cmd.cat/ppmntsc.sh
- Debian
-
apt-get install netpbm - Ubuntu
-
apt-get install netpbm - Arch Linux
-
pacman -S netpbm - Kali Linux
-
apt-get install netpbm - CentOS
-
yum install netpbm-progs - Fedora
-
dnf install netpbm-progs - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install netpbm - OS X
-
brew install netpbm - Raspbian
-
apt-get install netpbm
Make the RGB colors in a PPM image compatible with NTSC or PAL color systems. More information: <https://netpbm.sourceforge.net/doc/ppmntsc.html>.
-
Make the RGB colors in a PPM image compatible with NTSC color systems:
ppmntsc path/to/input_file.ppm > path/to/output_file.ppm -
Make the RGB colors in a PPM image compatible with PAL color systems:
ppmntsc --pal path/to/input_file.ppm > path/to/output_file.ppm -
Print the number of illegal pixels in the input image to `stderr`:
ppmntsc --verbose path/to/input_file.ppm > path/to/output_file.ppm -
Output only legal/illegal/corrected pixels, set other pixels to black:
ppmntsc --legalonly|illegalonly|correctedonly path/to/input_file.ppm > path/to/output_file.ppm
© tl;dr; authors and contributors