Compare commits
2 Commits
74446a332e
...
153e5f49eb
Author | SHA1 | Date | |
---|---|---|---|
153e5f49eb | |||
ee2801aa05 |
7
ascii.py
7
ascii.py
|
@ -12,7 +12,7 @@ import numpy as np
|
|||
import numpngw
|
||||
|
||||
ASCII_CHARS = "$@%#*+=-:. "
|
||||
HEADERS = {'User-Agent': 'Gimme the ascii.'}
|
||||
HEADERS = {'User-Agent': 'Gimme ascii.'}
|
||||
|
||||
|
||||
def scale_image(image, maxDim=100):
|
||||
|
@ -221,8 +221,7 @@ if __name__=='__main__':
|
|||
description="Converts an image file to ascii art.")
|
||||
parser.add_argument(
|
||||
"imagePath",
|
||||
help="The path to the image file. May be a local path or internet \
|
||||
internet URL.")
|
||||
help="The path to the image file. May be a local path or internet URL.")
|
||||
parser.add_argument(
|
||||
"-r",
|
||||
"--reverse",
|
||||
|
@ -248,7 +247,7 @@ if __name__=='__main__':
|
|||
"--color",
|
||||
type=str,
|
||||
help="Colorizes the ascii matrix. Currently supported modes are 'irc' \
|
||||
and 'ansi'.")
|
||||
and 'ansi' for generating color codes compliant with those standards.")
|
||||
parser.add_argument(
|
||||
"--ansi",
|
||||
dest="color",
|
||||
|
|
Loading…
Reference in New Issue
Block a user