rgb3toppm
Combine RGB component files into PPM image
TLDR
Combine RGB components into PPM
$ rgb3toppm [red.pgm] [green.pgm] [blue.pgm] > [output.ppm]
SYNOPSIS
rgb3toppm redfile greenfile bluefile
DESCRIPTION
rgb3toppm combines three separate PGM grayscale files (red, green, blue channels) into a single PPM color image. All three input files must have the same dimensions. Output is written to standard output. Part of Netpbm toolkit.
PARAMETERS
redfile
PGM file for red channel.greenfile
PGM file for green channel.bluefile
PGM file for blue channel.
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
SEE ALSO
ppmtorgb3(1), pamstack(1), pgmtoppm(1), ppmtopgm(1), yuvsplittoppm(1)
