ppmtoyuvsplit

Convert a PPM image to three subsampled Abekas YUV files. More information: <https://netpbm.sourceforge.net/doc/ppmtoyuvsplit.html>.

Install

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

Convert a PPM image to three subsampled Abekas YUV files. More information: <https://netpbm.sourceforge.net/doc/ppmtoyuvsplit.html>.

  • Read a PPM image from the input file, convert it to three subsampled Abekas YUV image and store these images to output files starting with the specified basename:
    ppmtoyuvsplit basename path/to/input_file.ppm

© tl;dr; authors and contributors