var ctx = document.querySelector('#c').getContext('2d'); var kitty = new Image(); kitty.src = 'http://i954.photobucket.com/albums/ae30/rte148/891blog_keyboard_cat.gif'; kitty.onload = function(){ ctx.drawImage(this, 99,0,this.width, this.height); }; ctx.rotate(0.35);
<canvas id=c width=500 height=500></canvas>
canvas {border:1px solid #ccc;background:#eee;}