mRax

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. mRax

    Export after resize...

    I used renderer.width = 4096; renderer.height = 2056; its seems works but i`ve another problem... its work just if i use some delay before extract like setTimeout(function(){ //.... var data = renderer.extract.base64() /// }, 3000) have any best practices for this situation?
  2. mRax

    Export after resize...

    So, my code: // create app like new PIXI.Application({ width: 1024, height: 540, // ... // to do something // ... renderer.resize(4096,2056) // then replace textures to hi-res , etc // and try to get png file from canvas var data = renderer.extract.base64() and... data is 1024 x 540 ... How to get data with new (resized) resolutions? Tnx