You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you rendering image to canvas from a remote url? I was having the same issue when I try to annotate image from http://placehold.it/700x300 url instead of the image file from my local. This is likely to be cors issue, so what you have to do is add crossOrigin attribute, to be exact below snippet:
self.img.crossOrigin = 'Anonymous'
to the line before the self.img.src = image.pathhere. This solved my issue and I'm able to annotate image from remote source.
I am integrated annotate but whenever I am trying to execute export, it will cause below error,
"djaodjin-annotate.js:740 Uncaught SecurityError: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported."
Can anyone please help on that really appreciate.
The text was updated successfully, but these errors were encountered: