Skip to content

AvivHamagniv69/turn-image-to-ascii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

turn-image-to-ascii

takes a provided image and makes a .txt file with the image drawn in ascii characters

examples:

original image:

mario

basic ascii table:

sdads

flat ascii table:

Screenshot_20221112_194833

dependencies:

you need pillow which comes with python 3 as far as im aware but it gave me problems so if it does it to you try running the install command again (this is for linux):

python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow

how to use:

first type chmod +x imageToAscii to the file, you can just use python3 to run it but this is more comfotrable then type the following command into the terminal and you get a file as an output:

imageToAscii size_of_ascii_image /optional_path_to_file/name_of_file /optional_path_to_file/name_of_output_file

side note:

while this technically works on windows it dosent draw the image correctly and for now i cant fix it, but hopefuly you can fix it

tested on: fedora 36, android.

About

takes a provided image and makes a .txt file with the image drawn in ascii characters

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages