How to get url of camera Screenshot

Hi, hope you are all fine

Working on capturing screenshot right now the problem with, not getting url or source of image so that i can use or display at others page

and here is the project link
https://playcanvas.com/editor/scene/1833939

Hi @rehman97,

There is an example that shows how to render an image from the WebGL canvas:

https://developer.playcanvas.com/en/tutorials/capturing-a-screenshot/

Hi @Leonidas,

Thanks for replying.
I actually want to show the captured rendered image on the UI, can you tell me where the captured images are saved so I can use their URL to show in the IMG tag.

Hey, if you trace the screenshot functionality, you will see that all the functioning of a screenshot is done in the screenshoot.js script. So you can find your desired image reference in the takeScreenshot function.

thanks saif, Found it I didn’t match the reference in the script. Now it is working