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.3.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for ascii_img_stuff-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb17c522b8a184eafe93acb7212d827951ebd6a220ac2c43c19391eb26e549c2 |
|
MD5 | c456dc63dc5b776444cff586a0c97a20 |
|
BLAKE2b-256 | 53e6c1a2f487f567e268e067c0f3ebb4a02b909f5af1814d6e2faf96ceee3a77 |