Compare commits

...

2 Commits

Author SHA1 Message Date
153e5f49eb Merge branch 'master' of https://git.steelbea.me/iou1name/ascii 2017-12-04 05:23:49 -05:00
ee2801aa05 did stuff? 2017-12-04 05:23:17 -05:00

View File

@ -12,7 +12,7 @@ import numpy as np
import numpngw import numpngw
ASCII_CHARS = "$@%#*+=-:. " ASCII_CHARS = "$@%#*+=-:. "
HEADERS = {'User-Agent': 'Gimme the ascii.'} HEADERS = {'User-Agent': 'Gimme ascii.'}
def scale_image(image, maxDim=100): def scale_image(image, maxDim=100):
@ -221,8 +221,7 @@ if __name__=='__main__':
description="Converts an image file to ascii art.") description="Converts an image file to ascii art.")
parser.add_argument( parser.add_argument(
"imagePath", "imagePath",
help="The path to the image file. May be a local path or internet \ help="The path to the image file. May be a local path or internet URL.")
internet URL.")
parser.add_argument( parser.add_argument(
"-r", "-r",
"--reverse", "--reverse",
@ -248,7 +247,7 @@ if __name__=='__main__':
"--color", "--color",
type=str, type=str,
help="Colorizes the ascii matrix. Currently supported modes are 'irc' \ 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( parser.add_argument(
"--ansi", "--ansi",
dest="color", dest="color",