munir ishak d0ee32309e change naming | пре 5 година | |
---|---|---|
src | пре 5 година | |
www | пре 5 година | |
.gitignore | пре 5 година | |
README.md | пре 5 година | |
package.json | пре 5 година | |
plugin.xml | пре 5 година |
This plugin(based on devgeeks/Canvas2ImagePlugin) allows you to save BASE64 data to the iOS Photo Library, Android Gallery or WindowsPhone 8 Photo Album from your app.
This plugin fork from solderzzc/Base64SaveImage
Call the window.Base64SaveImage.saveImageDataToLibrary()
method using success and error callbacks and the id attribute or the element object of the canvas to save:
function onDeviceReady()
{
window.Base64SaveImage.saveImageDataToLibrary(
function(msg){
console.log(msg);
},
function(err){
console.log(err);
},
BASE64DATA
);
}