I
I
ixon2016-01-04 11:14:37
PHP
ixon, 2016-01-04 11:14:37

How to draw an image on a canvas loaded from another site via crossOrigin Anonymous and get the url of that canvas?

There is a canvas on which you need to display an image and get the code of this canvas and the code that in theory does this:
codepen.io/anon/pen/jWypLN?editors=101
It turns out that the image is displayed, but the canvas code cannot be obtained. If you add crossOrigin = Anonymous to the image, then the image is not displayed at all.
How to fix it so that it works?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question