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

15 lines
467 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# rgb3toppm
> Combine three PGM images into one PPM image.
> See also: `ppmtorgb3`.
> More information: <https://netpbm.sourceforge.net/doc/rgb3toppm.html>.
- Combine three PGM images (representing red, green and blue color components) into one PPM image:
`rgb3toppm {{path/to/red_file.ppm}} {{path/to/green_file.ppm}} {{path/to/blue_file.ppm}} > {{path/to/output.ppm}}`