Saving image after processing

I want to save the image as .png file to my local computer once I’m done with all the processing. Can someone help me or point to the references how can I do that.

TIA.

Here it is Render Scenes To .png Files | Babylon.js Documentation