Dear:
I do not know much canvas
, but I tried to make a screnshoot of a web page through the URL
. Is this possible with html2canvas
? since I have done it with other functions, but they do not allow me to capture the entire web page, nor can I change the quality of the image.
function canvas () {
var url = "http://www.portalinmobiliario.com";
//var canvas = document.getElementById('div');
var canvas = url;
alert(canvas);
var dataURL = canvas.toDataURL();
alert(dataURL);
var lowQuality = canvas.toDataURL("image/jpeg", 0.1);
$('#preview').html('<img src="' + dataURL + '" alt="' + url + '">').show();
}