themadcreator / gifler Goto Github PK
View Code? Open in Web Editor NEWRender GIF frames to canvas
Render GIF frames to canvas
Hi,
I just need to extract a specific frame from a gif file.
I see you have defined a Decoder object but how can I use it in my code?
Thanks!
Hi,
Gifler is amazing stuff, really useful for couple of implementation, but when we add single loop gif files, it looping those single loop files infinitely.
Any help on this is much appreciated.
Hello :)
Does it have function to delete old gif and load new? Something like this:
gif = gifler(srcTexture);
gif.animate(canvasTexture);
gif.delete()
gif = gifler(newSrcTexture);
Or function to change src dynamically? Like this:
gif.src("anim.gif")
XMLHttpRequest can't get the gif from other domains because of cross origin.
I suggest you to add possibility to create a gifler element from a gif on an other domain with a get request.
Loading a single frame gif causes the page to become completely unresponsive and for it to crash
Hi,
thanks for this library, very useful.
Currently, I am using animate method which is running the gif indefinitely.
I am having hard time figuring out how to animate gif only once and then stop at last frame.
I would like to know how can I achieve this?
I want to use it in the typescript.
Please make a type.
I did the gif-animation loading, following the example in the documentation. However, frames are skipped and frames are displayed incorrectly.
This happens to many gif files. Please, how to fix it, does anyone know?
Here is an example error: https://codepen.io/bulat73/pen/VoJOGo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.