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