Save Render Texture to PNG

How to download a picture in my_image.png format?
In the browser in the Download menu

Canvas = this.add.renderTexture(CANVAS_X, CANVAS_Y, CANVAS_WIDTH, CANVAS_HEIGHT);
Canvas.snapshot(OnSnapshot);

function OnSnapshot(imageElement)
{
    // ??? 
}

In my project, I take a picture this way. This takes a snapshot of the entire scene.

 onUp() {
        this.scene.renderer.snapshot((image) => {
            const link = document.createElement('a');
            link.href = image.src;
            link.download = 'screenshot.png';
            link.click();
            document.body.removeChild(link);
        });
    }

Thanx!