#ascii #image #convert-images #cli #creative #fire

bin+lib asciifire

Library and CLI to convert images into surprisingly accurate ascii representation

3 releases

0.1.2 Oct 19, 2022
0.1.1 Oct 19, 2022
0.1.0 Oct 19, 2022

#839 in Images

35 downloads per month

MIT/Apache

2MB
162 lines

AsciiFire

Github Crates.io MIT licensed

A Library and CLI for converting images into ASCII characters of varying "density".

Install

Make sure you have cargo installed. Help can be found here.

Once cargo is installed, open a terminal and run

cargo install asciifire

This will install a binary and allow you to use asciifire in your preferred terminal.

Examples

Output to console at appropriate terminal size:

$ asciifire Savior.jpeg

Ascii Savior Big

Output result to file:

$ asciifire Savior.jpeg -o Savior.txt

Resize height and maintain aspect ratio:

$ asciifire Savior.jpeg --height 50

Ascii Savior 50

Dependencies

~20–33MB
~321K SLoC