ppmtoterm, ppmtoascii, pbmto4425: add pages; pbmtoascii: edit page (#12426)

This commit is contained in:
Juri Dispan
2024-03-02 17:28:40 +01:00
committed by GitHub
parent 509dcea0d3
commit 50d5c647b5
4 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# ppmtoascii
> Convert a PPM image to an ASCII image using ANSI terminal color codes.
> See also: `ppmtoterm`, `pbmtoascii`, `pbmto4425`.
> More information: <https://netpbm.sourceforge.net/doc/ppmtoascii.html>.
- Convert a PPM image to an ASCII image, combining an area of 1x2 pixels into a character:
`ppmtoascii {{path/to/input.ppm}} > {{path/to/output.txt}}`
- Convert a PPM image to an ASCII image, combining an area of 2x4 pixels into a character:
`ppmtoascii -2x4 {{path/to/input.ppm}} > {{path/to/output.txt}}`