Avalonia: Support for Animated GIF and SVG

Created on 29 Apr 2019  路  6Comments  路  Source: AvaloniaUI/Avalonia

Hi, Is there any way to render animated GIFs and SVGs?

question

All 6 comments

There is https://github.com/jmacato/AvaloniaGif but I do not know if that is finished.
SVG will not be supported any time soon. The spec is just too much to implement at the moment. You can try to convert your SVG to XAML and use that.

Any Intention to upstream the Gif support for 0.9.0?
ping: @jmacato

We're still waiting for some issues regarding layout bugs and the current WriteableBitmap not refreshing as efficiently as it could (see #2185 & #2244). About upstreaming that to avalonia however is yet to be determined.

@deinok though i should say that AvaloniaGif is working, albeit sub-optimally. Do try the demo project on it and see what works for you.

@jmacato It is working pretty well on an embedded device with Linux Framebuffer

Ideally when we bring animated GIF support into Avalonia core, we'd be able to display GIFs using the <Image> control. For this we will need a bit of work in order to allow Image to display animations,

Was this page helpful?
0 / 5 - 0 ratings