TaiShan Posted April 23, 2018 Share Posted April 23, 2018 Hello everybody !! I have a problem about screenshoot canvas using this code this.renderer.view.toDataURL('image/jepg', 0.1) it not work in my PIXI lib version 4.7 but i using this code in version 3.0 it work, so something wrong in my code ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 23, 2018 Share Posted April 23, 2018 Use "extract" plugin. "renderer.extract.canvas().toDataURL('image/jpeg', 0.1)" Either people dont bother with search, either search on this forum is bad Quote Link to comment Share on other sites More sharing options...
TaiShan Posted April 23, 2018 Author Share Posted April 23, 2018 i'm sorry for my way research, after post this post find this post in this forum T_T ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 23, 2018 Share Posted April 23, 2018 Its fine, I'm ready to answer every post However, using the search is just faster than waiting for me. I understand that our docs are worse and dont contain many things. There are articles like that one: https://github.com/pixijs/pixi.js/wiki/v4-Gotchas , but too many frequent cases appear just in forums and issues (https://github.com/pixijs/pixi.js/issues?utf8=✓&q=is%3Aissue+) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.