|
2 | 2 |
|
3 | 3 | Makin some pictures |
4 | 4 |
|
5 | | -This library requires the Pillow library |
| 5 | +This library requires the Pillow and colorama libraries |
6 | 6 |
|
7 | | -`pip install -U Pillow` |
| 7 | +`python3 -m pip install -U Pillow colorama` |
8 | 8 |
|
9 | 9 | To use the gui you need PySide |
10 | 10 |
|
11 | | -`pip install -U PySide` |
| 11 | +`python3 -m pip install -U PySide` |
12 | 12 |
|
13 | | -See `main.py` for basic usage |
| 13 | +At the time of this commit PySide can only be installed on Python versions 2.6, 2.7, 3.3, 3.4. If you wish to use the GUI you must have installed versions 3.3 or 3.4. You can read more about it here https://github.com/PySide/pyside-setup/issues/53 |
14 | 14 |
|
15 | | -Basic usage |
16 | 15 | --- |
17 | 16 |
|
18 | | -Before: |
| 17 | +Usage: main.py [options] |
| 18 | + |
| 19 | +Options: |
| 20 | + -h, --help show this help message and exit |
| 21 | + -o FILENAME, --out=FILENAME |
| 22 | + The filename you want your final image saved as |
| 23 | + -w WORDS, --words=WORDS |
| 24 | + Use words to create your image |
| 25 | + -s STEP, --step=STEP Choose the distance of your characters |
| 26 | + -d, --density Adding the flag converts the image based on visual |
| 27 | + density |
| 28 | + -t, --terminal Print ascii image to terminal |
| 29 | + |
| 30 | + |
| 31 | +Example usage |
| 32 | +--- |
| 33 | + |
| 34 | +Original image: |
19 | 35 |
|
20 | 36 |  |
21 | 37 |
|
22 | | -After: |
| 38 | +Default usage: |
23 | 39 |
|
24 | 40 |  |
25 | 41 |
|
| 42 | +Density flag: |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | +Terminal flag (screenshot): |
| 47 | + |
| 48 | + |
26 | 49 |
|
27 | | -Flag usage example |
| 50 | +Other flags usage example: |
28 | 51 | --- |
29 | 52 |
|
30 | 53 | `$ python main.py -s 10 -w "dank memes" -o ayy_lmao_pizza.jpg Media/pizza_in.jpg` |
|
0 commit comments