fd
This commit is contained in:
parent
85c22c83ec
commit
043e9783f0
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ def upload_ibb(file=None, resize=False):
|
||||||
if file: file.save("image.webp")
|
if file: file.save("image.webp")
|
||||||
|
|
||||||
i = IImage.open("image.webp")
|
i = IImage.open("image.webp")
|
||||||
frames = ImageSequence.Iterator(i)
|
frames = list(ImageSequence.Iterator(i))
|
||||||
|
|
||||||
if resize:
|
if resize:
|
||||||
def thumbnails(frames):
|
def thumbnails(frames):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue