A script that helps you catch the end of perfectly-looping GIFs, preventing you from falling into the trap. And yes, It helped save the world!
We need two image processing libraries of python, Pillow and imageio to manipulate image frames and compose a new GIF.
pip install Pillow, imageio
$ python gif2progressBar.py glass.gif
GIF with progress bar created, progressBar_glass.gif
Before | After |
---|---|
- Optimize the image processing function. The output gif file has a slight slowdown.