From d5b638cf047f0a5206b7cfd14d4c0a7df80d9c1d Mon Sep 17 00:00:00 2001 From: Robson Cruz Date: Thu, 26 Oct 2023 16:16:24 -0300 Subject: [PATCH] pbmtoascii: add page (#11289) Co-authored-by: Juri Dispan Co-authored-by: K.B.Dharun Krishna --- pages/common/pbmtoascii.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/pbmtoascii.md diff --git a/pages/common/pbmtoascii.md b/pages/common/pbmtoascii.md new file mode 100644 index 000000000..e6cb67336 --- /dev/null +++ b/pages/common/pbmtoascii.md @@ -0,0 +1,20 @@ +# pbmtoascii + +> Convert a PBM image to ASCII graphics. +> More information: . + +- 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`