|
2 | 2 |
|
3 | 3 | Makin some pictures |
4 | 4 |
|
5 | | -Ascii py requires the use of Python 3.3 or greater because of [an addition made to the shutil ibrary](https://docs.python.org/3/library/shutil.html#querying-the-size-of-the-output-terminal). |
6 | | - |
7 | 5 | Install instructions |
8 | 6 | --- |
9 | 7 |
|
10 | | -Using pip: |
| 8 | +Using pip |
| 9 | +--- |
11 | 10 |
|
12 | | -`python3 -m pip install ascii_py` |
| 11 | +``` |
| 12 | +python3 -m pip install ascii_py |
| 13 | +``` |
13 | 14 |
|
14 | | -Manually: |
| 15 | +From source |
| 16 | +--- |
15 | 17 |
|
16 | 18 | ``` |
17 | 19 | git clone https://github.com/profoak/ascii_py |
18 | 20 | cd ascii_py |
19 | 21 | python3 setup.py install |
20 | 22 | ``` |
21 | 23 |
|
22 | | -If you want to use the gui component: `python3 setup_gui.py install` |
23 | | - |
24 | | -This library requires the Pillow and colorama libraries. If you use the above install methods, these will automagically be installed. |
25 | | - |
26 | | -`python3 -m pip install -U Pillow colorama` |
27 | | - |
28 | | -To use the gui you need PySide |
29 | | - |
30 | | -`python3 -m pip install -U PySide` |
31 | | - |
32 | | -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 |
33 | | - |
34 | 24 | Usage |
35 | 25 | --- |
36 | 26 |
|
37 | 27 | ``` |
38 | | -Usage: ascii_py [options] |
| 28 | +usage: ascii_py [-h] [-o OUT] [-w WORDS] [-s STEP] [-d] [-t] input_file |
39 | 29 |
|
40 | | -Options: |
| 30 | +positional arguments: |
| 31 | + input_file Input file to convert from. |
41 | 32 |
|
| 33 | +optional arguments: |
42 | 34 | -h, --help show this help message and exit |
43 | | - -o FILENAME, --out=FILENAME |
44 | | - The filename you want your final image saved as |
45 | | - -w WORDS, --words=WORDS |
46 | | - Use words to create your image |
47 | | - -s STEP, --step=STEP Choose the distance of your characters |
48 | | - -d, --density Adding the flag converts the image based on visual |
49 | | - density |
50 | | - -t, --terminal Print ascii image to terminal |
| 35 | + -o OUT, --out OUT The filename you want your final image saved as. |
| 36 | + -w WORDS, --words WORDS |
| 37 | + Use words to create your image. |
| 38 | + -s STEP, --step STEP Choose the distance of your characters. |
| 39 | + -d, --density Adding the flag converts the image based on visual density. |
| 40 | + -t, --terminal Print ascii image to terminal. |
51 | 41 | ``` |
52 | 42 |
|
53 | 43 | Example images |
|
0 commit comments