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

ppmtorgb3 — Separate the color components of a PPM file into three separate PGM files. See also: `rgb3toppm`. Mo

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theseparatecommandppmtorgb3colorclicomponentsppm

Problem

How to use the ppmtorgb3 command: Separate the color components of a PPM file into three separate PGM files. See also: rgb3toppm. More information: <https://netpbm.sourceforge.net/doc/ppmtorgb3.html>.

Solution

ppmtorgb3 — Separate the color components of a PPM file into three separate PGM files. See also: rgb3toppm. More information: <https://netpbm.sourceforge.net/doc/ppmtorgb3.html>.

Separate the color components of a PPM file, saving the outputs to file.red, file.grn and file.blu:
ppmtorgb3 {{path/to/file.ppm}}

Code Snippets

Separate the color components of a PPM file, saving the outputs to `file.red`, `file.grn` and `file.blu`

ppmtorgb3 {{path/to/file.ppm}}

Context

tldr-pages: common/ppmtorgb3

Revisions (0)

No revisions yet.