by TheZenPsycho · 12y ago · 0 comments
- works inside an <img> tag
- works in background: url()
- supports both smil animation and css animation
- supported back to IE10 (with css animations)
- plays automatically in a loop with no play controls
- can embed jpegs, pngs, videos as videostrips or diff images
- can apply alpha transparency via a mask operation
- flexible enough to apply a wide variety of compression techniques including multiple update regions (where gif only supports one rect per frame)
- Controllable via javascript (as long as you trade off putting it in an img tag and use an object tag instead)
previous comments here: https://news.ycombinator.com/item?id=8038838
all that's missing is widely available software to author SVG animations.
I've tested an SVG with an <svg:video> element (http://www.w3.org/TR/SVGTiny12/multimedia.html#restrictedVid...), but unfortunately it doesn't seem to be supported anywhere.
I've also tested an SVG playing video via HTML in a <foreignObject>. In Firefox it does play when the SVG is opened as a standalone file, but not when embedded in <img src>. So close :(
If posting the image on a typical forum requires more than some sort of [img]http://foohost.com/23452t23t.baz[/img] it's a non-starter.
with animations.
it does.
I misunderstood nothing.
behold:
Still, that's awesome. Need a simple "animated gif to animated jpeg (svg)" converter tool.