From 50d5c647b5f142e0621d35c298cfb98c3de62d6e Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Sat, 2 Mar 2024 17:28:40 +0100 Subject: [PATCH] ppmtoterm, ppmtoascii, pbmto4425: add pages; pbmtoascii: edit page (#12426) --- pages/common/pbmto4425.md | 9 +++++++++ pages/common/pbmtoascii.md | 1 + pages/common/ppmtoascii.md | 13 +++++++++++++ pages/common/ppmtoterm.md | 9 +++++++++ 4 files changed, 32 insertions(+) create mode 100644 pages/common/pbmto4425.md create mode 100644 pages/common/ppmtoascii.md create mode 100644 pages/common/ppmtoterm.md diff --git a/pages/common/pbmto4425.md b/pages/common/pbmto4425.md new file mode 100644 index 000000000..95a47bbe2 --- /dev/null +++ b/pages/common/pbmto4425.md @@ -0,0 +1,9 @@ +# pbmto4425 + +> Display a PBM image on an AT&T 4425 terminal. +> See also: `ppmtoterm`, `pbmtoascii`. +> More information: . + +- Display a PBM image on an AT&T 4425 terminal using the terminal's mosaic graphics character set: + +`pbmto4425 {{path/to/image.pbm}}` diff --git a/pages/common/pbmtoascii.md b/pages/common/pbmtoascii.md index e6cb67336..4f333a6f4 100644 --- a/pages/common/pbmtoascii.md +++ b/pages/common/pbmtoascii.md @@ -1,6 +1,7 @@ # pbmtoascii > Convert a PBM image to ASCII graphics. +> See also: `ppmtoascii`, `asciitopgm`, `ppmtoterm`. > More information: . - Read a PBM file as input and produce an ASCII output: diff --git a/pages/common/ppmtoascii.md b/pages/common/ppmtoascii.md new file mode 100644 index 000000000..618bab8a1 --- /dev/null +++ b/pages/common/ppmtoascii.md @@ -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: . + +- 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}}` diff --git a/pages/common/ppmtoterm.md b/pages/common/ppmtoterm.md new file mode 100644 index 000000000..22ba42925 --- /dev/null +++ b/pages/common/ppmtoterm.md @@ -0,0 +1,9 @@ +# ppmtoterm + +> Convert a PPM image to an ANSI ISO 6429 ASCII image. +> See also: `ppmtoascii`, `pbmtoascii`, `pbmto4425`. +> More information: . + +- 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}}`