Forum

How to save the image?

I want to use the download attribute of the tag a and canvas toDataURL. I tried these on webos but they didn't seem to work. May I know how to save the image from the web app?

Hi Leed,
Below is my understanding on your question.
You converted canvas to image using ```canvas.toDataURL() API. now you want to save specified image type in the device.
Answer: You can write node or native service which can expose Luna API, so you can use this Luna API in the Application to save or get the image
hope answered your question!
Thanks,