RASCII

image to ascii art fully created with rust πŸ¦€ πŸš€

Features:

* Multi-language support -> βœ”
* Custom char list -> βœ”
* pixelart support for terminal -> βœ”
...

Installation

Cross-Platform (Cargo):

RECOMMENDED

cargo install rascii_art

MANUAL

(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)

Usage:

``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_orAvailable lists at bottom appendix I> --list <your_char_list_orAppendix 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 -l Exmpl: rascii -p -l bruh // creats your image by using ['b', 'r', 'u', 'h'] rascii -p -l emoji // creates your image by using emojis -> bcuz list below contains a list named: "emoji"! Builtin_lists: [ "japanese", "slight", "emoji", "chinese", "ansi", "russian", ] ```

of course you could mix these commands

Samples:

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

Japanese

Emoji

Not that perfect, because emojis are pretty complicated by their look! thats why picture below is a bit noisy Screenshot<em>RASCII : fish</em>2

Chinese

Screenshot<em>RASCII : fish</em>15

Custom ASCII list stored on environment variable!

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) Screenshot<em>RASCII : fish</em>9

Custom colored images!

Screenshot<em>RASCII : fish</em>13

Pixelart Convertion!

Or I could do an amogus! LOL

If any error accurs please post it on issues section