cordova plugin for saving base64 image
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
munir ishak d0ee32309e change naming 4 年前
src change naming 4 年前
www change naming 4 年前
.gitignore initial commit 4 年前
README.md change naming 4 年前
package.json change naming 4 年前
plugin.xml change naming 4 年前

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
    );
}