We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
That was it. The “enable screenshots” turns on the “preserveDrawingBuffer” which allows to get the pixel data from the canvas.
Perfect, thanks!
@kdv yes, I am trying to get a screenshot of the 3D app.
Initially I had that code, but it just produces a blank image.
I also had to flip the bits because the screenshot was coming out upside down