File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 4
4
# https://github.com/o2sh/onefetch/wiki/ASCII-Art-From-Image-Using-Python-Image-Library/9c454b390273ffedd60db9d525fb001f89d581b1
5
5
6
6
# lint with
7
- # flake8 --max-line-length 120 ASCII_art_from_image.py
8
- # black --diff --color ASCII_art_from_image.py
7
+ # flake8 --max-line-length 120 image_to_ascii.py
8
+ # black --color --diff image_to_ascii.py
9
+ # isort --color --diff image_to_ascii.py
9
10
10
11
from argparse import ArgumentParser
11
- from PIL import Image , ImageDraw
12
12
from math import floor
13
13
14
+ from PIL import Image , ImageDraw
15
+
14
16
__version__ = "1.0.0"
15
17
16
18
parser = ArgumentParser (description = "convert an image file to ASCII art" )
41
43
"--version" ,
42
44
help = "show version" ,
43
45
action = "version" ,
44
- version = "ASCII_art_from_image .py {}" .format (__version__ ),
46
+ version = "image_to_ascii .py {}" .format (__version__ ),
45
47
)
46
48
args = parser .parse_args ()
47
49
You can’t perform that action at this time.
0 commit comments