var img = new Image(); img.onload = function () { context.drawImage(img, 20, 20, 50, 50); }; img.src = "D:\My Pics\tb.jpg";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)