Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/profoak/ascii_py
Make some ascii arts
https://github.com/profoak/ascii_py
art ascii cli memes terminal
Last synced: 5 days ago
JSON representation
Make some ascii arts
- Host: GitHub
- URL: https://github.com/profoak/ascii_py
- Owner: ProfOak
- License: mit
- Created: 2015-06-28T08:14:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T22:17:28.000Z (over 1 year ago)
- Last Synced: 2024-09-30T22:17:06.269Z (4 months ago)
- Topics: art, ascii, cli, memes, terminal
- Language: Python
- Size: 1.09 MB
- Stars: 225
- Watchers: 12
- Forks: 20
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ascii Py
Makin some pictures
Install instructions
---Using pip
---```
python3 -m pip install ascii_py
```From source
---```
git clone https://github.com/profoak/ascii_py
cd ascii_py
python3 setup.py install
```Usage
---```
usage: ascii_py [-h] [-o OUT] [-w WORDS] [-s STEP] [-d] [-t] input_filepositional arguments:
input_file Input file to convert from.optional arguments:
-h, --help show this help message and exit
-o OUT, --out OUT The filename you want your final image saved as.
-w WORDS, --words WORDS
Use words to create your image.
-s STEP, --step STEP Choose the distance of your characters.
-d, --density Adding the flag converts the image based on visual density.
-t, --terminal Print ascii image to terminal.
```Example images
---Original image:
![](https://raw.githubusercontent.com/ProfOak/ascii_py/master/Media/before.jpg)
Default usage:
![](https://raw.githubusercontent.com/ProfOak/ascii_py/master/Media/after.jpg)
Density flag:
![](https://raw.githubusercontent.com/ProfOak/ascii_py/master/Media/density.jpg)
Terminal flag (screenshot):
![](https://raw.githubusercontent.com/ProfOak/ascii_py/master/Media/terminal.jpg)
Other flags usage example:
---`$ ascii_py -s 10 -w "dank memes" -o ayy_lmao_pizza.jpg Media/pizza_in.jpg`
![](https://raw.githubusercontent.com/ProfOak/ascii_py/master/Media/pizza_in.jpg)
![](https://raw.githubusercontent.com/ProfOak/ascii_py/master/Media/ayy_lmao_pizza.jpg)