python3 cli tool to render *.jpg *.jpeg *.png etc imgs as ascii .txt files
Project description
about
ascii .txt image rendering with python *i use this to make ascii drawings on my page lol
installation
WORKS IN WSL2 and DEBIAN/UBUNTU *NIX
using pip
pip install ascii-img-stuff
# the python binary is installed to $HOME/.local/bin/ascii
# run the ascii command and fill in the details it asks for
ascii
using git
git clone "https://github.com/hashirkz/ascii_stuff"
cd ascii_stuff
./setup.sh
# installs python program to ~/.local/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.7.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for ascii_img_stuff-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b92fd1ec211b5f63f03214e1a1aacf7bc507ecc16106033c5382298b49cd07bb |
|
MD5 | 3ea1f973bf1598c0eec258a765a49590 |
|
BLAKE2b-256 | ed797e4c0a31b35da8e7a47331a8bb3d84064d74195d3c6a7e952b07821588b4 |