spite / ccapture.js

A library to capture canvas-based animations at a fixed framerate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesnt capture GIF

peeter2 opened this issue · comments

Hello,

Your live example is buggy. The GIF capture is not working.
Webm format works fine but not GIF. What's wrong with this?

What browser are you trying it on? It should work on any browser that supports web workers. May be you didn't give it enough time to process the gif (it can take a long time).

I tried it on both Chrome as well as Firefox and still GIFs don't download. Even if I set frame rate to 10fps and capture just one second, still nothing happens. Works fine with video or JPG format though.
You can try and see if it works for you? https://www.clicktorelease.com/code/conway3d_ccapture/

//////////
EDIT:
Just tried again and seems like it worked now. I just had to wait for a few minutes to get the one second GIF. I guess I'm just gonna stick with the video format.

Thanks.

Yeah @peeter2 the GIF is broken.