Image doesn't show
meizano opened this issue · 3 comments
I have try the example. The image doesn't show up. But, if I try to inspect the document, it is downloaded and accessible. If there's any special requirement for using image in html? Beside what stated in the github repo.
This sound like an origin issue, images have to be on the same origin or have the appropriate CORS headers.
I get this issue too, I think this is a limitation as we are not rendering as the browser would.
Why does this happen? How are you loading images?
I would of thought using the Image class shouldn't be an issue for CORS .
Unfortunately, CORS does effect images. To render HTML to a canvas all external assets have to be embedded as data urls which the library generates from XHR requests.