From 5ab335d348e8789ee9df30958098ed4f7507204d Mon Sep 17 00:00:00 2001 From: Cairn Date: Mon, 29 Aug 2022 02:39:41 -0400 Subject: [PATCH] chafa: add page (#8413) * chafa: add page * Switch "path/to/input" with "path/to/file" * Remove "and" from see also section * Rework descriptions * Simplify a description * Change braille capitalization * Remove GIF distinction --- pages/common/chafa.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/chafa.md diff --git a/pages/common/chafa.md b/pages/common/chafa.md new file mode 100644 index 0000000000..3721792ac1 --- /dev/null +++ b/pages/common/chafa.md @@ -0,0 +1,25 @@ +# chafa + +> Image printing in the terminal. +> See also: `catimg`, `pixterm`. +> More information: . + +- Render an image directly in the terminal: + +`chafa {{path/to/file}}` + +- Render an image with 24-bit [c]olor: + +`chafa -c full {{path/to/file}}` + +- Improve image rendering with small color palettes using dithering: + +`chafa -c 16 --dither ordered {{path/to/file}}` + +- Render an image, making it appear pixelated: + +`chafa --symbols vhalf {{path/to/file}}` + +- Render a monochrome image with only braille characters: + +`chafa -c none --symbols braille {{path/to/file}}`