forked from rDrama/rDrama
master
parent
9d35c449e9
commit
2cebfa34ea
|
@ -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…
Reference in New Issue