mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-30 23:41:12 +00:00
52 lines
1.8 KiB
Markdown
52 lines
1.8 KiB
Markdown
# 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$$$$$$$$$$
|
|
$$$$$$$$$$$wI]8$ml!!!!!!!!!lJ$$$$$$$$$$
|
|
$$$$$$$$$$$wll)x_!!!!!!!!!!lC$$$$$$$$$$
|
|
$$$$$$$$$$$wIlI;Illl!!!!!!!lC$$$$$$$$$$
|
|
$$$$$$$$$$$#zXXXXXXz_!!!!!!lC$$$$$$$$$$
|
|
$$$$$$8bqpppbbbbbbbd?l!!!!!lC&bbboB$$$$
|
|
$$$$$C?lllllllllllll!!!!!!!lLoYYYYQW$$$
|
|
$$$$Yll!!!!!!!!!!!!!!!!!!!!lLoYUUUYQ%$$
|
|
$$$ail!!!!!!!!!!!!!!!!!!!!!lLoYUUUUYb$$
|
|
$$$nI!!!!!!!!!!!!!!!!!!!!!!l0oYUUUUYQ@$
|
|
$$B}l!!!!!!!!!!!!!!!!!!!!!!lkhYUUUUUU&$
|
|
$$#~!!!!!!!!!!!!!!!!!!!!!!I\@mYUUUUUY*$
|
|
$$k!!!!!!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