mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 12:16:10 +02:00
pbmtoascii: add page (#11289)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
5f4f732e11
commit
d5b638cf04
1 changed files with 20 additions and 0 deletions
20
pages/common/pbmtoascii.md
Normal file
20
pages/common/pbmtoascii.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# pbmtoascii
|
||||
|
||||
> Convert a PBM image to ASCII graphics.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtoascii.html>.
|
||||
|
||||
- Read a PBM file as input and produce an ASCII output:
|
||||
|
||||
`pbmtoascii {{path/to/input_file.pbm}}`
|
||||
|
||||
- Read a PBM file as input and save an ASCII output into a file:
|
||||
|
||||
`pbmtoascii {{path/to/input_file.pbm}} > {{path/to/output_file}}`
|
||||
|
||||
- Read a PBM file as input while setting the pixel mapping (defaults to 1x2):
|
||||
|
||||
`pbmtoascii -{{1x2|2x4}} {{path/to/input_file.pbm}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`pbmtoascii -version`
|
Loading…
Add table
Reference in a new issue