var img = new Image(); img.src = "1.jpg"; c = document.createElement('canvas'); document.body.appendChild(c); var canvasContext = c.getConte[......]
var img = new Image(); img.src = "1.jpg"; c = document.createElement('canvas'); document.body.appendChild(c); var canvasContext = c.getConte[......]