Fit image into canvas size var i = new Image() ; create image object i.onload = function(){ wait the picture to be ctx.drawImage(i,0,0,i.width,i.height,0,0 ...
確定! 回上一頁