remotes/1693045480750635534/spooky-22
parent
1cb9d911e7
commit
4a656c1454
|
@ -23,7 +23,7 @@ def upload_ibb(file=None, resize=False):
|
||||||
def thumbnails(frames):
|
def thumbnails(frames):
|
||||||
for frame in frames:
|
for frame in frames:
|
||||||
thumbnail = frame.copy()
|
thumbnail = frame.copy()
|
||||||
thumbnail.thumbnail(size, IImage.ANTIALIAS)
|
thumbnail.thumbnail(size)
|
||||||
yield thumbnail
|
yield thumbnail
|
||||||
|
|
||||||
frames = thumbnails(frames)
|
frames = thumbnails(frames)
|
||||||
|
|
Loading…
Reference in New Issue