<!DOCTYPE html>
<html>
<head>
<title>canvas</title>
<meta charset="utf-8">
</head>
<body>
<canvas id='draw' width='570' height='330' style='border:1px solid'></canvas>
<script>
var canvas=document.getElementById("draw")
var x=canvas.getContext("2d");
var img = new Image();
img.src = '/home/sergei/www/canvas/12.png';
x.drawImage(img,10,10);
</script>
</body>
</html>