1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages/common/chafa.md
Vitor Henrique 1ba7fb9460
pages*: add missing mnemonics (#12151)
* pages*: add missing mnemonics

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-19 19:43:42 +05:30

596 B

chafa

Image printing in the terminal. See also: catimg, pixterm. More information: https://hpjansson.org/chafa/man.

  • 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}}