Files
cheatsheet-tldr/tldr/ppmtoppm
2025-12-12 00:21:51 +00:00

18 lines
386 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ppmtoppm
> Copy a PPM image.
> More information: <https://netpbm.sourceforge.net/doc/ppmtoppm.html>.
- Copy a PPM image (i.e. a PBM, PGM, or PPM image) from `stdin` to `stdout`:
`ppmtoppm < {{path/to/image.ppm}} > {{path/to/output.ppm}}`
- Display version:
`ppmtoppm {{[-v|-version]}}`