This commit is contained in:
simio 2025-02-21 20:41:18 -03:00
parent b0ef71be5f
commit 1efa03da97

View File

@ -75,7 +75,7 @@ def load_webp(file):
img.load() # strange thing with Pillow and animated webp's is that the img.info dictionary attr doesn't update unless you call a function like this
frames.append([img.toqimage(), img.info["duration"]])
return frames, img.info["loop"]
return frames
def get_apng_duration(file):
img = APNG.open(file)