jnordberg / gif.js

JavaScript GIF encoding library
http://jnordberg.github.io/gif.js/
MIT License
4.74k stars 668 forks source link

merge a gif with a gif to be created. #79

Open YeisonVelez11 opened 6 years ago

YeisonVelez11 commented 6 years ago

I have a gif saved on my computer. I would like to combine the first gif, with which it is being processed. it's possible?

http://jsfiddle.net/77qdyp29

1j01 commented 6 years ago

If you just need to combine two GIFs, you could use a service like ezgif using the splitter and maker gifcreator.me which apparently can do it in one step just by uploading GIFs to combine them. If you do need to do it programmatically, you can use a library for decoding GIFs such as gifuct-js, or omggif (which can also encode GIFs), or maybe libgif-js. I haven't used any of these libraries, so I don't know what to recommend.