Files
cheatsheet-tldr/tldr/ppmcolormask
2025-04-02 00:19:10 +00:00

14 lines
412 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`