mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-24 12:31:11 +00:00
1.8 KiB
1.8 KiB
Image to ASCII Art
This is a simple script that lets you convert an image to ascii text art.
Usage
- Only PIL package is required
- Add path of your picture and set size of width and height by pixel.
- Run
python imgtoascii.py
- Enjoy ASCII art!
Result :
B%B%B@@$$$$$$$$$$$$$$$$$$$$$$$$$$@@B%B%
%B%@$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$@%B
B%$$$$$$$$$$$$$$&obpdk*8$$$$$$$$$$$$$$%
%@$$$$$$$$$$$#X)i!ll!i?\Q%$$$$$$$$$$$@
B$$$$$$$$$$$m;Il!!!!!!lll{h$$$$$$$$$$$
@$$$$$$$$$$#+ltU[l!!!!!!!!l[&$$$$$$$$$$
@$$$$$$$$$$wI[@$pl!!!!!!!!!IO$$$$$$$$
$ail!!!!!!!!!!!!!!!!!!!!!lLoYUUUUYb
$nI!!!!!!!!!!!!!!!!!!!!!!l0oYUUUUYQ@$
$$B}l!!!!!!!!!!!!!!!!!!!!!!lkhYUUUUUU&$
$$#~!!!!!!!!!!!!!!!!!!!!!!I\@mYUUUUUY*$
$$k!!!!!!!!!!lllllllllllI!\WWUUUUUUUYo$
$$dl!!!!!!!!l1uXYYYYYYYYCh@WLYUUUUUUYo$
$$dl!!!!!!!~0@%*aaaaaaaaakmUYUUUUUUUYo$
$$k!!!!!!!lL@dJYYYYYYYYYYYYUUUUUUUUUYo$
$$*~!!!!!l]BdYYUUUUUUUUUUUUUUUUUUUUUY*$
$$%]l!!!!lfBJYUUUUUUUUUUUUUUUUUUUUUUU&$
$$$tl!!!!luWYUUUUUUUUUUUUUUUUUUUUUUY0@$
$$$wl!!!!luMYUUUUUUUUUUUUUUUUUUUUUUYa$$
$$$B\I!!!luMYUUUUUUUUUUUUUUUUUUUUUYZ@$$
$$$$M)Ill;nMYUUUUUUUYYYYYYYYYYYYYJqB$$$
$$$$$%OunxZMYUUUUUUUa********ooo*&$$$$$
$$$$$$$$$$$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