Hey guys, pixi.js has support for gif images? Let me know if you have it and I need to insert gifs on canvas, thanks in advance :).
Greeting
gif images work fine in canvas, just not animated ones (you'll only ever see the first frame rendered).
Cool , I麓ll keep that in mind :dancer:
howdy, closing as this seems resolved
https://github.com/sbfkcel/pixi-apngAndGif
Let Pixi.js support apng, gif images. And allow control of its operation.
can anyone please let me know how can i animate the gif?
i want to render the full gif.
Because of the browser limitations with GIF, there is not an easy path and this is unlikely to be a media source we invest serious time in. If someone want to make a plugin, it seems like there are some GIF parsing libraries available that might help (and there seems like interest here!)
As a workaround, for animated sequences I'd suggest using AnimatedSprite or creating a video and using video source for the BaseTexture. These options will give you a much better playback experience, better file sizes, and better compression options.
Thanks @bigtimebuddy
Most helpful comment
https://github.com/sbfkcel/pixi-apngAndGif
Let Pixi.js support apng, gif images. And allow control of its operation.