Add back log for test file

This commit is contained in:
acer 2020-12-25 00:22:23 -05:00
parent d187d2073d
commit a2234c0bee

View File

@ -72,12 +72,14 @@ function save_image(){
//update image using blob (faster)
tempCanvas.toBlob(function (blob) {
alert('Data length: ' + blob.size);
console.log(blob);
}, 'image/png');
}
else{
//slow way for IE, Edge
var data = tempCanvas.toDataURL();
alert('Data length: ' + data.length);
console.log(data);
}
}