mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
ppmtoterm, ppmtoascii, pbmto4425: add pages; pbmtoascii: edit page (#12426)
This commit is contained in:
parent
509dcea0d3
commit
50d5c647b5
4 changed files with 32 additions and 0 deletions
9
pages/common/pbmto4425.md
Normal file
9
pages/common/pbmto4425.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# pbmto4425
|
||||
|
||||
> Display a PBM image on an AT&T 4425 terminal.
|
||||
> See also: `ppmtoterm`, `pbmtoascii`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmto4425.html>.
|
||||
|
||||
- Display a PBM image on an AT&T 4425 terminal using the terminal's mosaic graphics character set:
|
||||
|
||||
`pbmto4425 {{path/to/image.pbm}}`
|
|
@ -1,6 +1,7 @@
|
|||
# pbmtoascii
|
||||
|
||||
> Convert a PBM image to ASCII graphics.
|
||||
> See also: `ppmtoascii`, `asciitopgm`, `ppmtoterm`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtoascii.html>.
|
||||
|
||||
- Read a PBM file as input and produce an ASCII output:
|
||||
|
|
13
pages/common/ppmtoascii.md
Normal file
13
pages/common/ppmtoascii.md
Normal 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}}`
|
9
pages/common/ppmtoterm.md
Normal file
9
pages/common/ppmtoterm.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue