Isaiah Odhner

Results 278 comments of Isaiah Odhner
trafficstars

There are also some `` tags leaking through as HTML syntax, which wouldn't work to replace with newline characters, since they're in a Markdown table. The table could be replaced...

You're missing `var` to declare `jsonSocket`, so it's becoming a global variable. It's missing in the server example in the documentation because it's overwriting an argument.

GIF as a format only supports one-bit transparency, but you can get rid of this color artifact by passing an image where every pixel is already fully opaque or transparent....

What exactly is your environment? - Perhaps try using some sort of [web worker polyfill](https://code.google.com/p/ie-web-worker/source/browse/trunk/worker.js). You might need to remove the `if(!Worker)` condition. - If you're trying to use this...

If you only add one frame, you'll get a one frame animation. The "Usage" code sample [here](http://jnordberg.github.io/gif.js/) only covers adding single frames because there are many different ways you might...

@princek64 "blob/gif" is not a valid mime type. "image/gif" is but the API will return PNG ("image/png") when a format is not supported. Instead of `myCanvas.toDataURL('blob/gif')`, use [`URL.createObjectURL(blob)`](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL) instead, so...

@xql279671304 I think that's a separate problem, of variable transparency resulting in blackness because it's overlaid on a black background. You're supposed to be able to set the background color,...

You can try using [html2canvas](https://html2canvas.hertzen.com/). It might not support all the CSS properties you want, or may not work with CSS animation, I don't know. You can check supported CSS...

See https://github.com/jnordberg/gif.js/issues/5

There's a `progress` event available. See [some code here as an example](https://github.com/1j01/jspaint/blob/689c22b83c03a4cf5321e9c7f6fcff318b8ab75c/src/functions.js#L724-L727) It gives you the progress from `0` to `1` as an argument