Outputs an image to a file in cwd
named out-<current-time>.txt
or to terminal drawn with ASCII symbols using python and pillow
To run the program just run the following lines in your terminal:
python3 main.py <path-to-image>
After doing so you can copy ASCII repesentation of your image from the file or terminal
Flags:
-s
/--save
-- save ASCII art to a file
-c
/--compression [FLOAT]
-- determine how compressed your ASCII art compared to target image
-b
/--inverse
-- inverse brightness
-w
/--width [FLOAT]
-- change width of every pixel (because height of glyphs != its width)
From:
To:
?(/1111??11?111111111111111111111((111((((((((((((((((((((
11????????????????111?11111111111111111111111(((((((((((((
?????????????????????????11111111111(/|||/(111111(((((((((
?????????????????????????????11??(=*=(|++**=/111111(((((((
????????????????????????????????|*+|=|||/=***+111111((((((
??????????????????????????????1+"(Z#L|((|=*++"/11111111111
?????????????????????????????/":"=?v(w#@a*+++"/11111111111
????????????????????????????=",`,"""+=(1=*++**(1?????11111
??????????????????????????1+*+":-,.,,.,:*++*"/1???????????
????????????????????????v(***=|||=*""-_"*+*"|1????????????
????????????????????????/**+=||||||=**+++*"|11????????????
?????????????????????v1=**+=|||||=+*++++**|1??????????????
???????????????????v?/**++||||=++*+++++**/11??????????????
?????????????????v?(+**+=||||+**++***+**/11???????????????
???????????????v?(+***+|||||+*++++**+**/1?????????????????
?????????????v?/+**+++||||=+*++++++**=(1??????????????????
????????????v1=**+++||||=+*+++++++**|11???????????????????
????????????/**+*+|||=++++++++++**=(1?????????????????????
???????????=**++*===+*++++++++**+/1???????????????????????
?????????v/*+++*++++++++++****+/1?????????????????????????
?????????v|=+=|==+*++++++*"*=/1???????????????????????????
??????????1||||||=++*****+|(1?????????????????????????????
????????????1(/||===++=|(1????????????????????????????????
????????????????11111111??????????????????????????????????
((((((((((((((((1111111(((((((((((((((((((((((((((((((((((