image to ascii art fully created with rust π¦ π
* Multi-language support -> β
* Custom char list -> β
* pixelart support for terminal -> β
...
RECOMMENDED
cargo install rascii_art
(Not suggested!)
FOR LINUX:
git clone https://github.com/KoBruhh/RASCII.git
cd RASCII
./INSTALL # Moves binaries to /usr/bin/
FOR WΔ°NDOWS:
git clone https://github.com/KoBruhh/RASCII.git
cd RASCII
cargo build --release # You have to move your binary (target/release/) to your own $PATH manually (Your Program Files Directory)
``shell
~This program allows you to create ASCII art from any image (.png, .jpeg, .jpg ...)~
SubCommands (rascii <SubCommand>):
-p, --path <path/to/image> // given path is the image path that you want to convert.
-i, --invert // to be able to create images without white background. (if your image has a white plain and you want to ignore it use this command)
-c, --colored // to make ASCII art colored
-h, --help // to access this window
-r, --ratio // to resize img, It could be higher than hundred! but cant be lower than zero!
-bg, --background // to paint background with the color of the pixel!
-wc, --with-color <R> <G> <B> // to create custom colored ASCII arts! you could mix these with -bg !
-px, --pixelated // to convert output to pixelart
-l <your_char_list_or
Available lists at bottom appendix I> --list <your_char_list_or
Appendix I`> // allows you to create custom lists! and use builtin char_lists!
|If you dont understand, Just ask your mom| ||This project is rusty, so it is fast! really!||
Appendix I
Dont forget that you could enter your own list by:
rascii -p
of course you could mix these commands
rascii -p /photos/ferris.jpeg -i -c -l japanese >> ferris.txt
-> It will stores the output on ferris.txt,
If you want to see the results only (not store) you have to do: rascii -p /photos/ferris.jpeg -i -c -l japanese
// both uses builtin japanese char list
Not that perfect, because emojis are pretty complicated by their look! thats why picture below is a bit noisy
I am using fish so I am using set <var> <value>
to create an env var!
If you use bash or such you have to use export <var>=<value>
set ANSI_CHAR_LIST βββββ
-> to set an environment variable on terminal
Also dont forget that you could insert your list directly to -l ->
rascii -p <path/to/img> -l 0123456789
creates an img by using 0..10 nums!
rascii -p <path/to/img> -l $ANSI_CHAR_LIST
-> to use the variable (ANSICHARLIST is just an example name of the variable could be anything!)
Ansi based ($ANSICHARLIST)
Or I could do an amogus! LOL
If any error accurs please post it on issues section