remotes/1693045480750635534/spooky-22
Aevann1 2021-09-15 02:31:36 +02:00
parent b7e99aa288
commit 6a493c46a9
1 changed files with 2 additions and 1 deletions

View File

@ -15,8 +15,8 @@ def upload_ibb(file=None, resize=False):
if file: file.save("image.webp")
i = IImage.open("image.webp")
if resize:
i = IImage.open("image.webp")
size = 100, 100
frames = ImageSequence.Iterator(i)
@ -34,6 +34,7 @@ def upload_ibb(file=None, resize=False):
except Exception as e:
print(e)
return
i.save("image.webp", save_all=True)
try:
with open("image.webp", 'rb') as f: