how to get a image object from canvas code example Example: get image url from canvas var dataURL = canvas.toDataURL();