Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Store as Png Image from Signature pad?

$
0
0

@matrix wrote:

i have implemented signature-pad and its working perfectly..!
now, I want to store the Signature as .png image to local/cloudinary.

$scope.saveCanvas = function() {
var sigImg = signaturePad.toDataURL('image/png');
$scope.signature = sigImg;
console.log("$scope.signature :",$scope.signature);
}

above code gives base64 string like :
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAY

How can I convert the base64 into .png image?

i have asked on StackOverFlow also..?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>