forked from MarseyWorld/MarseyWorld
master
parent
fd781fcd0a
commit
72ef951dde
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue