Open svenwiethoff opened 3 years ago
Hello, I ran today into key error on line 166 in engines/ffmpeg.py. It turns out that duration is not always available in Image.info and there are animated gifs out there without it.
See: Pillow documentation and stack overflow
Checking for the attribute fixed it and everything was working as expected.
Hello, I ran today into key error on line 166 in engines/ffmpeg.py. It turns out that duration is not always available in Image.info and there are animated gifs out there without it.
See: Pillow documentation and stack overflow
Checking for the attribute fixed it and everything was working as expected.