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==0.1.3
# 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.5.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for ascii_img_stuff-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e85d62515d9bec1635bb0740d4f806e3b36c1b94a06df450e3cfe1d42320746b |
|
MD5 | ce9ffb8a11b496dda036191f50877f83 |
|
BLAKE2b-256 | 873e2503cb04b42d5a66f32f5547b16e41148a5df7979e042e5e5faf10a9a4d2 |