cordova plugin for saving base64 image
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
munir ishak d0ee32309e change naming před 4 roky
src change naming před 4 roky
www change naming před 4 roky
.gitignore initial commit před 4 roky
README.md change naming před 4 roky
package.json change naming před 4 roky
plugin.xml change naming před 4 roky

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