HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

rgb3toppm — Combine three PGM images into one PPM image. See also: `ppmtorgb3`. More information: <https://netpb

Submitted by: @import:tldr-pages··
0
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.