cordova plugin for saving base64 image
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
munir ishak d0ee32309e change naming преди 5 години
src change naming преди 5 години
www change naming преди 5 години
.gitignore initial commit преди 5 години
README.md change naming преди 5 години
package.json change naming преди 5 години
plugin.xml change naming преди 5 години

README.md

Base64SaveImage

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

Usage:

Call the window.Base64SaveImage.saveImageDataToLibrary() method using success and error callbacks and the id attribute or the element object of the canvas to save:

Example

function onDeviceReady()
{
	window.Base64SaveImage.saveImageDataToLibrary(
        function(msg){
            console.log(msg);
        },
        function(err){
            console.log(err);
        },
        BASE64DATA
    );
}