Corona uses WebGL canvas.
https://stackoverflow.com/questions/45221542/html-save-webgl-canvas-as-image
Corona uses WebGL canvas.
https://stackoverflow.com/questions/45221542/html-save-webgl-canvas-as-image
I tried it. But it doesn’t works.
Please help me through code. I’m new to HTML5.
Hoping soon we will implement a function to read WebGL buffer.
Thanks.
Attached working test app which saves a .png file from documentDir to local file system.
It uses IDBFS API to read file from browser’s sandbox: https://kripken.github.io/emscripten-site/docs/api_reference/Filesystem-API.html#filesystem-api-idbfs
Thanks.
Will check it.
Thanks.
It works well (y)