
 In recent days, 
when surfing the web, I come across a variety of useful "crutches", and I immediately write about them in Habrahabr. Here is another one.
As you know, animated PNG in APNG format is not included in the PNG standard, 
which is why a number of browsers (IE, Safari, Google Chrome) do not support animation in these images (and instead show a static frame). To overcome this problem, the enterprising 
Lord_D even tried to 
shove frames one by one into a compressed SVG . I hope his courage gives a complete picture of how extreme the web developer is able to desperately reach.
Fortunately, you can do without extremes. 
Yevgeny Stepanischev mentioned that 
David Mzareulyan composed and laid out the 
apng-canvas library on Github, which provides cross-browser display of APNG in all those browsers (including the standard Android browser) that APNG itself does not understand. Display is achieved by drawing on canvas 
( <canvas> ).
')
The size of this library is slightly more than 
4 Kb .
Mzareulyan's story about the development process is also informative.