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

ppmcolormask — Produce a mask of areas of a certain color in a PPM image. More information: <https://netpbm.sourcef

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

Problem

How to use the ppmcolormask command: Produce a mask of areas of a certain color in a PPM image. More information: <https://netpbm.sourceforge.net/doc/ppmcolormask.html>.

Solution

ppmcolormask — Produce a mask of areas of a certain color in a PPM image. More information: <https://netpbm.sourceforge.net/doc/ppmcolormask.html>.

Produce a mask of areas of a certain color in the specified PPM image:
ppmcolormask {{[-c|-color]}} {{red,blue}} {{path/to/input.ppm}} > {{path/to/output.pbm}}

Code Snippets

Produce a mask of areas of a certain color in the specified PPM image

ppmcolormask {{[-c|-color]}} {{red,blue}} {{path/to/input.ppm}} > {{path/to/output.pbm}}

Context

tldr-pages: common/ppmcolormask

Revisions (0)

No revisions yet.