Draw an animated .gif image


Hello everyone,
I have a .gif file which animates… I need to draw it inside a component… I am able to draw it but the animation does not work… Can someone just help me out with it…

                   Let me inform you that I have tried the Drawable::createFromImageFile(). Then I tried the GIFImageFormat to load the image from file and then decode it : gifFormat.decodeImage(inputStream) but it didn't show up as well... I have tried it with 4 different .gif files and was unsuccessful in getting them animated... Any help will be greatly appreciated... Thanks so much...


I’m afraid my little home-grown GIF decoder doesn’t handle animations! You’d need to get stuck in yourself and modify it to do that, I’ve got no time to do that myself right now.