FUCK PIL
This commit is contained in:
parent
08dec86316
commit
db6aca6ffb
|
@ -72,7 +72,7 @@ class AsyncBotManager:
|
|||
alpha = im.convert("L").filter(ImageFilter.MaxFilter(5))
|
||||
im.putalpha(alpha)
|
||||
if negative:
|
||||
im = ImageChops.invert(im)
|
||||
im = ImageChops.invert(im.convert("RGBA")).convert("LA")
|
||||
return im.copy()
|
||||
|
||||
def get_font(self, font_name: str, size: int = 8):
|
||||
|
|
Loading…
Reference in New Issue