CC 3.0 - Take a screenshoot and get Base64 data.

Hello everyone,

I need help to writing a screenshot function and return base64 data in CC 3.0, like function below. Does anyone have a solution for this? Thank you !!!

Screen Shot 2021-03-16 at 09.29.12

Sorry, there is no readPixels interface now, so it is not possible to convert to base64. what is your core requirement with base64, is it to pass back to the server?

@yufang.wu Hello,

Final result is to be able to capture a screenshot, (scale it if needed), and send back to server.