If gif has many frames, then separate them in jpg or png, load them all or pack in a texture and use MovieClip to play them in whatever way you want. Here is the example of using MovieClip on box2d objetcs: http://appcodingeasy.com/Gideros-Mobile/Animating-Box2d-objects
If it's a one image gif, you could simply convert it to jpg or png and use it
Has anybody worked out how to display GIFs using LUA/Gideros?
Offline conversion to PNG just ain't gonna work for me, as I need to scrape existing public images from the Net and then display them within my app. Unfortunately, some of these are GIFs.
One alternative may be for me to create a server-based program in between the app and the target GIF page, do a server-based GIF-to-PNG conversion, then deliver the PNG version to the app.
Seems like a lot of work though. Is GIF image import going to be a part of Gideros anytime soon?
Comments
Here is the example of using MovieClip on box2d objetcs:
http://appcodingeasy.com/Gideros-Mobile/Animating-Box2d-objects
If it's a one image gif, you could simply convert it to jpg or png and use it
Offline conversion to PNG just ain't gonna work for me, as I need to scrape existing public images from the Net and then display them within my app. Unfortunately, some of these are GIFs.
One alternative may be for me to create a server-based program in between the app and the target GIF page, do a server-based GIF-to-PNG conversion, then deliver the PNG version to the app.
Seems like a lot of work though. Is GIF image import going to be a part of Gideros anytime soon?
Likes: rodri