cordova plugin for saving base64 image
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
munir ishak 5d3104634e initial commit 5 år sedan
src initial commit 5 år sedan
www initial commit 5 år sedan
.gitignore initial commit 5 år sedan
README.md initial commit 5 år sedan
package.json initial commit 5 år sedan
plugin.xml initial commit 5 år sedan

README.md

Base64ImageSaverPlugin

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/Base64ImageSaverPlugin

Usage:

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

Example

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