Drawimage

The drawImage() method draws an image, canvas, or video onto the canvas

Putimagedata

The putImageData() is a method of the HTML5 Canvas, and is used to place new image data onto an existing image.

Faster function slower

Quality Example
Faster

"Using drawimage canvas is much faster than using putimagedata"

from question "How to replace getImageData & putImageData for better performance?"

"Drawimage seems to be much faster than putimagedata"

from question "Speeding up pixel manipulation in html5 canvas"

Function really faster

"I have seen that the drawimage function is really faster than the putimagedata"

from question "Optimizing setting of pixels in HTML5 canvas"

Much faster

"As of right now drawimage is much faster than putimagedata"

from question "Is putImageData faster than drawImage?"

Slower

"Right now putimagedata is much slower than drawimage as you can see here"

from question "Canvas vs Image for faux video player"

Earlier year old

Quality Example
Slower

"The only problem that as far as i know using drawimage is slower than using putimagedata and it was required in old browser versions like firefox 2 or such"

from question "Upscaling canvas data as fast as possible"

"That beeing said putimagedata is much slower than drawimage at least when i tested them earlier this year"

from question "Use Web Worker to getImageData from a file"

Others

Quality Example
Faster

"Using the clipping version of drawimage will be faster than putimagedata"

from question "Canvas: Draw image pixel by pixel and requestAnimationFrame timing"

More performant

"Is putimagedata ... more performant than drawimage ..."

from question "In cocoonjs Which one of these methods give most performance for canvas"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0