by icode · 15y ago · 0 comments
var img = new Image();
img.onload = function(){
//draw to canvas
};
img.src = "image.png";
Could be a stupid answer, or possibly it'd be better to do it your way?( Maybe I can learn something :) )https://developer.mozilla.org/en/Canvas_tutorial/Using_image...