master
Aevann1 2021-09-11 05:05:17 +02:00
parent fd781fcd0a
commit 72ef951dde
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ def upload_imgur(filepath=None, file=None, resize=False):
else: format = filepath.split('.')[-1].lower().replace('jpg','png').replace('jpeg','png')
if resize:
i = IImage.open(filepath)
size = 100, 100
frames = ImageSequence.Iterator(i)