Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top