ppmcolormask - produce mask of areas of a certain color in a PPM file
ppmcolormask
-color=color_list
[ppmfile]
Obsolete:
ppmcolormask
color
[ppmfile]
<code>
ppmcolormask -color red testimg.ppm >redmask.pbm
pamcomp background.ppm testimg.ppm -alpha=redmask.pbm >test.ppm
ppmcolormask -color=red,pink,salmon testimg.ppm >reddishmask.pbm
ppmcolormask -color=bk:red,bk:orange,bk:yellow testimg.ppm >firemask.pbm
</code>