antimatter15 / jsgif

Save a HTML5 Canvas to GIF and Animations. A port of as3gif GIFPlayer to JS
http://antimatter15.com/
MIT License
1.07k stars 138 forks source link

`addFrame` with `is_imageData=true` makes Chrome hang up #13

Open japboy opened 10 years ago

japboy commented 10 years ago

I'm now try separating jsgif process to Web Worker. This needs to pass the image data, not the whole of context.

So I used addFrame(ctx.getImageData(0,0,100,100), true) but this makes Chrome hang... Can you confirm this issue?

Thanks in advance.

dronkit commented 9 years ago

I'm running into this myself too

madvas commented 9 years ago

It was happening to me also, then I realized I forgot to call encoder.setSize(width, height);

memalign commented 2 years ago

It looks like there’s a typo of sizeSet (accidentally written as sizeset) in the addFrame function