zgniatacz_galaktyk Posted December 6, 2015 Share Posted December 6, 2015 I want to dump a container to a png or jpg file. I would've created a normal screenshot but the underlaying texture size is bigger than a screen (over 3000 px wide). How can I dump it to a file? Quote Link to comment Share on other sites More sharing options...
CtlAltDel Posted December 6, 2015 Share Posted December 6, 2015 I think you should use a rendertexture to accomplish that. Render to that texture and dump the contents of that. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted December 6, 2015 Share Posted December 6, 2015 look at cacheAsBitmap implementation in pixi.js github. 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.