Hi Guys,
I need to select an area of a HTML5 canvas Element, scale it and redraw it.
I am using getImageData() to select the area I need, and putImageData() to redraw it to the canvas. However, although putImageData takes width and height parameters, they do not resize the image, they simply crop it.

No amount of googling has lead me to an answer. Can anybody help?