ITsolutionWizard
asked on
jsignature c# convert to png
i use below code to download jsignature to svg 64 and it works to me. but how can convert to string to png in c#?
<script src="../Scripts/jquery-3.1.1.min.js"></script>
<script src="../libs/flashcanvas.js"></script>
<script src="../libs/jSignature.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#signature").jSignature({ width: 650, height: 250 });
});
function GetData() {
var $sigdiv = $("#signature");
var datapair = $sigdiv.jSignature("getData", "svgbase64")
var image = document.getElementById("Image1");
image.src = "data:" + datapair[0] + "," + datapair[1]
}
</script>
<div id="signature"></div>
<input id="Button2" type="button" value="GetData" onclick="GetData()" />
<hr />
<asp:Image ID="Image1" runat="server" />
Please, specify what do you want to convert? what type and what value?
ASKER
Convert from svg 64 to png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There is no activity from author
ASKER