Hi.
Currently,I am using html2canvas to convert image.
My image has transparent part.
It's converted to one image but still shows transparent part as white.
Please let me know how I can solve this issue?
Here is my code.
var element = $("#convert_image");
html2canvas(element, {
onrendered:function(canvas){
$("#firsrt_show").attr('src',canvas.toDataURL());
$("#convert_image").css("display","none");
}
});
Hi. Currently,I am using html2canvas to convert image. My image has transparent part. It's converted to one image but still shows transparent part as white. Please let me know how I can solve this issue? Here is my code.
var element = $("#convert_image"); html2canvas(element, { onrendered:function(canvas){ $("#firsrt_show").attr('src',canvas.toDataURL()); $("#convert_image").css("display","none"); } });
Thanks