forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-24 20:10:01 +02:00
parent 6cb975c056
commit c7bba5b51c
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ def process_image(file=None, filename=None, resize=0):
om = next(frames)
om.info = i.info
om = ImageOps.exif_transpose(om)
om.save(filename, format="WEBP", save_all=True, append_images=list(frames), loop=0, method=6, allow_mixed=True)
elif i.format.lower() != "webp":
if i.format.lower() == "gif":