#convert-images #graphics #image #ascii #cli-tool #ascii-text #cli

app img2ascii

A simple CLI tool to convert images to ascii text

1 unstable release

0.1.0 Dec 13, 2021

#33 in #ascii-text

MIT license

3.5MB
123 lines

img2ascii

A simple CLI tool to convert images to ascii text

Command-line Options

Flags:

  • -f, --fcolor: color foreground
  • -b, --bcolor: color background

Options:

  • -r <ramp>, --ramp <ramp>: specify the character ramp to be used for conversion
  • -s <scale>, --scale <scale>: specify the scale to be used

To Build

img2ascii is written in Rust. The Rust compiler can be installed by following the instructions on the official download page.

$ git clone "https://github.com/edzdez/img2ascii.git"
$ cd img2ascii
$ cargo build --release

Dependencies

~16MB
~107K SLoC