Canvas Drawing gets blurred after calling getImageData() method on Chrome

143 views Asked by At

The original canvas renderings are getting blurred after i call getImageData() and copy its content to another canvas on GOOGLE CHROME. Anyone facing similar problems?

1

There are 1 answers

0
AudioBubble On BEST ANSWER

You don't need to use getImageData() to copy an image, just use drawImage to draw source canvas into destination:

dstContext.drawImage(srcCanvas, 0, 0);

As to cause it's hard to tell as you are not providing any examples/code.