Files
cheatsheet-tldr/tldr/ppmtoterm
2024-03-03 00:14:15 +00:00

15 lines
450 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ppmtoterm
> Convert a PPM image to an ANSI ISO 6429 ASCII image.
> See also: `ppmtoascii`, `pbmtoascii`, `pbmto4425`.
> More information: <https://netpbm.sourceforge.net/doc/ppmtoterm.html>.
- Convert a PPM image to an ANSI ISO 6429 ASCII image, mapping each pixel to an individual character:
`ppmtoterm {{path/to/input.ppm}} > {{path/to/output.txt}}`