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.
سؤال
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?
المحلول
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.