Cannot Save Processing.js program that displays a gotten image
Closed this issue · 0 comments
lgto4 commented
The one line program
image(getImage("avatars/avatar-team"), 100, 100);
cannot be Saved. The gripe is
Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
at i.getScreenshot (https://cdn.kastatic.org/genwebpack/prod/en/4YZv.6a1ed31e9871d479e50b.js:1:31485)
at i.handleMessage (https://cdn.kastatic.org/genwebpack/prod/en/2Sin.8ae3ec2940569b614452.js:1:5533)