Skip to content Skip to sidebar Skip to footer

Convert Canvas To Imageuri

I develop application using Phonegap (Cordova) and I have a problem trying to convert canvas to imageURI and to save it into sdcard. Here is my code: function saveCanvasAsImage(ima

Solution 1:

Canvas doesn't work correctly in most versions of android's webview.

To be able to convert correctly a canvas to a file in any version of android, you can use the Canvas2ImagePlugin : https://github.com/devgeeks/Canvas2ImagePlugin

Post a Comment for "Convert Canvas To Imageuri"