mirror of
git://git.acid.vegas/scroll.git
synced 2024-11-28 10:56:44 +00:00
Fixed typo birghtness to brightness
This commit is contained in:
parent
d696e2ad2e
commit
a9db61c2dd
@ -59,7 +59,7 @@ def convert(data, max_line_len, img_width=80, palette='RGB99', brightness=False,
|
||||
palette = palettes[palette]
|
||||
image = Image.open(io.BytesIO(data))
|
||||
del data
|
||||
if birghtness:
|
||||
if brightness:
|
||||
image = ImageEnhance.Brightness(im).enhance(brightness)
|
||||
if contrast:
|
||||
image = ImageEnhance.Contrast(image).enhance(contrast)
|
||||
|
Loading…
Reference in New Issue
Block a user