drawImage
onload = function(){ var cvs = documen.getElementById('cvs'); var ctx = cvs.getContext('2d'); var img = new Image(); img.src = 'image/img.jpg'; img.onload = function(){ ctx.drawImage(); } }