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.1.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for ascii_img_stuff-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e2a7fffcdcd4431c360c8d3748be9d6f18e9950c714232010013e4ef545c44a |
|
MD5 | ac1ac68d22922354f44e5351b3fef576 |
|
BLAKE2b-256 | e80897b6344d5d428e72f6fc30a72c0b9dfc2307c798d66ab307603ea185a187 |