You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Advanced ASCII Art GeneratorUsage: rascii [OPTIONS] <FILENAME>Arguments: <FILENAME> Path to the imageOptions: -w, --width <WIDTH> Width of the output image. Defaults to 128 if width and height are not specified -H, --height <HEIGHT> Height of the output image, if not specified, it will be calculated to keep the aspect ratio -c, --color Whether to use colors in the output image -i, --invert Inverts the weights of the characters. Useful for white backgrounds -C, --charset <CHARSET> Characters used to render the image, from transparent to opaque. Built-in charsets: block, emoji, default, russian, slight [default: default] -h, --help Print help -V, --version Print version
Features
Available as a crate: RASCII has a very simple API allowing you to useRASCII from your programs without using the system shell.
Colored ASCII art generation: RASCII uses ANSI color codes to generatecolored ASCII art.
[!NOTE]Your terminal emulator has to supporttruecolor (don't worry,almost all modern terminal emulators do).
Super efficient colored output: RASCII never repeats the same ANSI colorcode if it is already active.
This makes a huge difference in images with little alternating color, up toabout 1800% reduction in output size. Woah!
Custom dimensions: RASCII allows you to give custom dimensions to theoutputted ASCII art while keeping the aspect ratio (unless both dimensions areprovided).
Custom charsets: RASCII allows you to use custom charsets to generate yourASCII art.
Note
The given charset must go from transparent to opaque.
Lots of pre-included charsets.
Installing The CLI
Via Cargo
Note
This is the recommended way of installing the RASCII CLI.
Warning
You must have~/.cargo/bin/ in yourPATH to runrasciidirectly.
cargo install rascii_art
Manually
Warning
this installation method is discouraged and only works forGNU/Linux or any other POSIX compatible systems!