ppmtoyuv

Convert a PPM image to an Abekas YUV file. More information: <https://netpbm.sourceforge.net/doc/ppmtoyuv.html>.

Install

All systems
curl cmd.cat/ppmtoyuv.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 an Abekas YUV file. More information: <https://netpbm.sourceforge.net/doc/ppmtoyuv.html>.

  • Read a PPM image from the input file, convert it to an Abekas YUV image and store it in the specified output file:
    ppmtoyuv path/to/input_file.ppm > path/to/output_file.yuv

© tl;dr; authors and contributors