python3 cli tool to render *.jpg *.jpeg *.png etc imgs as ascii .txt files
Project description
about
ascii .txt image rendering with python
this is the program i use to make all the ascii drawings you see on my page
usage
WORKS IN WSL2 and DEBIAN/UBUNTU *NIX
git clone "https://github.com/hashirkz/ascii_stuff"
cd ascii_stuff
./setup.sh
# installs python program to /usr/bin/ascii
ascii
example
sleepyzzz:/mnt/c/users/hashi/documents/ascii_stuff$ ascii
path to img: ./imgs/pfp.jpg
height for .txt file: 40
invert y/n: n
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::.::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::-:::::::::::::::::::::::::::::::..:::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::--:::..................:.::::::::..::........:::::::::::::::::::
::::::::::::::::::::::::::::::::::::............::::::::.............................:::::::::::::::
:::::::::::::::::::::::::::..:...:...::::.....:..:::::::::...................:::::......::::::::::::
:::::::::::::::::::::::::..::...::..::::::::...::::::::::.......::..........:::::::::...::::-:::::::
::::::::::::::::::::::....:::..::..:::::::::::::...::.:.........::::...... .:::::::::::...::::::::::
:::::---::----:::::......::::..::..:::::::::::::....:..............:::......::::::::::---:.:::::::::
::::----------:...::....::::..::::::::::::::::::.....::............:::...::::--:---=------....::::::
::::::------::..::-:...:::::..:::::::::::::::.::......::.::...::.::::::....::::.:--=-==--:..:..:::::
:::::::::::.....:::..:---:::..:::::::::::::::.::..:....:..:...:::::..::....:.....:::---:::...:.:::::
:::::::..............::-::::.::::::::::::::.......::.............. .::..:..:. .....::::::....:::::
:::........::..............:..::::::::::::......::::........ .:..:..:..........:::.........
:::::...::::::............:::..:..:::::::..:...:::::... ..:................:::-:.....
::::..::::::::::::.......::::.....:::::::.:..:::.. ..................:::::...:
:...:::::::::::.:::....:::::......::::::.... .. .::.................:::...
..:::::::::::----::..:.:::.............. ... ....:.........:...:::::..
::::::::-------==:::::.:::....... .. ........:....................
::::::.:---------:::::::.... . .......::.....:....................
::......::::-::::::..... ..:..:::....::.....:....:::.....::......
...::::::::....::.. . ...::.:::.::.....:::..:... .:..:::........::::
:::::::::......:::. .. . .. ...::::::::::..:......:::::......:..:::..:::::::...
:..........::..:::.... .. ...:::::.......::...:::....:... ......:.....:::::::::::
::........::..::...::. .. ....:::::... .....::::..::.. .. ...........:..........
::.....:::::.:::..:::. ....::::::::::... .......::::..:::. .... .......:::::::::::..
....::::::----::.::::... .....:::::::::::::.............::::::::. ..:.........::::::::::::::
:::::::::::::...::::...............:::::::::::::::........::::::::::... ....::::.............::::::
:::::::... .....:........ .......::::::::::::::::...:::::::::::...::. .....::::::::.............
.....:......::.::..:... .. ........::::::::::::::::.:::::::::....:::::. .................::::::::
::::.....:::::.....:.........::.............:::::::::::::::::....::::::::...................::::::::
:.....::::::::...............:::.....::... .... .. ......::::::::::::.....::.........:::::::::
...::::::::::::..............:......:::....:::::::.. ..:::..:::::::::::::::.........::::::::::::
.:::::........::...::..............::...::::::::::::::.....::::.....:::::....:::::::::::::::::::::::
:::....::::::::..................:.....:::::::::::::::::::::::::::::::.....::::::::::::.............
.....:::::..........::................::::::::::::::::::::::::::::::::::::::::::::::..... .. ...
. .:::::.....:::::::........::...... .::::::::::::::::::::::::::::::::::::::::::::... ..... ....
...:::.....::::::::...::::::::...... .::::::::::::::::::::::::::::::::::::::::::.............. .
:.:::....::::::::.:::::::::::....:::..::::::::::::::::::::::.::::::::::::::::::.::::::::::....... .
:.:::.. :::::::.:::::::::::....::::::..:::::::::::::::::::::..:::::---::----::.::.::::::::::::. ..
saved to: pfp.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ascii_img_stuff-0.1.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for ascii_img_stuff-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e838a58ad065fb47bbad034c93de99694dd4063af29c3bd41883097da671160 |
|
MD5 | ea6e463f200ae18032cd4667196c6ae3 |
|
BLAKE2b-256 | 702ef21fea043e977624fc51c8e28b7719e77061e26f98db830e0bbf5c43317b |