mirror of
git://git.acid.vegas/scroll.git
synced 2024-11-07 08:46:45 +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]
|
palette = palettes[palette]
|
||||||
image = Image.open(io.BytesIO(data))
|
image = Image.open(io.BytesIO(data))
|
||||||
del data
|
del data
|
||||||
if birghtness:
|
if brightness:
|
||||||
image = ImageEnhance.Brightness(im).enhance(brightness)
|
image = ImageEnhance.Brightness(im).enhance(brightness)
|
||||||
if contrast:
|
if contrast:
|
||||||
image = ImageEnhance.Contrast(image).enhance(contrast)
|
image = ImageEnhance.Contrast(image).enhance(contrast)
|
||||||
|
Loading…
Reference in New Issue
Block a user