GIF disposal previous glitches on looping?
Posted: 2018-04-01T05:59:23-07:00
I'm try to optimise a radar looping GIF by using a static background and transparent animated layers.
But the loop flickers on restarting since the first frame is the background, and there's no radar image.
Here's the (suboptimal) optimised version. Only 192KB. But it shows a blank background frame before the animation of radar images that makes it flicker.
Here's the unoptimised GIF with a complex background. it is 1.7MB (sorry!), but loops smoothly because every frame has the complete image without transparency.
Any ideas?
But the loop flickers on restarting since the first frame is the background, and there's no radar image.
Here's the (suboptimal) optimised version. Only 192KB. But it shows a blank background frame before the animation of radar images that makes it flicker.
Code: Select all
convert invert.locations.png \
-dispose previous -delay 10 -loop 0\
*-recent.png /var/www/html/radar.gif
Here's the unoptimised GIF with a complex background. it is 1.7MB (sorry!), but loops smoothly because every frame has the complete image without transparency.
Code: Select all
convert -delay 10 -loop 0 *-recent.png /var/www/html/radar.gif
Any ideas?