Files
cheatsheet-tldr/tldr/ppmtorgb3
2024-12-29 00:19:25 +00:00

15 lines
424 B
Plaintext

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