I need to display an animated GIF in my metro app, but I can't find any control that allows it. (I tried Image
, MediaElement
and MediaPlayer
from the Player Framework)
Is it possible somehow to display an animated GIF?
For example: load a GIF using PIL and the ImageSequence and just draw it on a Tkinter window using ImageTk. PhotoImage and it will be animated.
You can achieve this natively by using the BitmapDecoder class in the .NET Framework. I have an example on my blog, that shows how to implement an AnimationControl that is able to show animated GIFs from a ressource gif file. Check out: http://www.henrikbrinch.dk/Blog/2013/02/21/Windows-8---GIF-animations--the-RIGHT-way
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With