fd
This commit is contained in:
parent
2017d8ab99
commit
963d289451
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue