snippetbashTip
rgb3toppm — Combine three PGM images into one PPM image. See also: `ppmtorgb3`. More information: <https://netpb
Viewed 0 times
commandimagescombineclithreeintorgb3toppmpgm
Problem
How to use the
rgb3toppm command: Combine three PGM images into one PPM image. See also: ppmtorgb3. More information: <https://netpbm.sourceforge.net/doc/rgb3toppm.html>.Solution
rgb3toppm — Combine three PGM images into one PPM image. See also: ppmtorgb3. More information: <https://netpbm.sourceforge.net/doc/rgb3toppm.html>.Combine three PGM images (representing red, green, and blue color components) into one PPM image:
rgb3toppm {{path/to/red_file.ppm}} {{path/to/green_file.ppm}} {{path/to/blue_file.ppm}} > {{path/to/output.ppm}}Code Snippets
Combine three PGM images (representing red, green, and blue color components) into one PPM image
rgb3toppm {{path/to/red_file.ppm}} {{path/to/green_file.ppm}} {{path/to/blue_file.ppm}} > {{path/to/output.ppm}}Context
tldr-pages: common/rgb3toppm
Revisions (0)
No revisions yet.