These are chat archives for pixijs/pixi.js

24th
May 2017
Yeling Shi
@shiyeling
May 24 2017 05:34
Hey Guys, One QQ regarding exporting canvas content as image, I'm trying to do this with the canvas.toDataURL method call. but that seems not working for pixijs generated canvas. e.g. with the official page: http://pixijs.github.io/examples/#/basics/basic.js
the following call gives me an image with just black background:
window.open(document.getElementsByTagName("canvas")[0].toDataURL("image/png"))
Yeling Shi
@shiyeling
May 24 2017 05:39
any one?
Yeling Shi
@shiyeling
May 24 2017 05:48
 * @param {boolean} [options.preserveDrawingBuffer=false] - enables drawing buffer preservation,
 *  enable this if you need to call toDataUrl on the webgl context.
found this in the WebGLRenderer.js.
jorasso
@jorasso
May 24 2017 13:19
Hello! Anyone tried to use pix-ui :)?