forked from rDrama/rDrama
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')
|
else: format = filepath.split('.')[-1].lower().replace('jpg','png').replace('jpeg','png')
|
||||||
|
|
||||||
if resize:
|
if resize:
|
||||||
|
i = IImage.open(filepath)
|
||||||
size = 100, 100
|
size = 100, 100
|
||||||
frames = ImageSequence.Iterator(i)
|
frames = ImageSequence.Iterator(i)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue