How to save image

The tutorial project ( doesn’t work for me. in Chrome, it return errors because it doesn’t allow base64 file. in Firefox, it return a transparent blank texture. So it’s there any way to savee a canvas to image.

my case is more tricky. i am writing my component with only Playcanvas Engine instead of using Playcanvas Editor. And i would like to render an preview image, which is smaller than the canvas.

That’s annoying, it USED to work :thinking:

This project of mine still works: