LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rgb3toppm

Combine RGB component files into PPM image

TLDR

Combine RGB components into PPM
$ rgb3toppm [red.pgm] [green.pgm] [blue.pgm] > [output.ppm]
copy

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.

SEE ALSO

Copied to clipboard
Kai