Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processing.js program that displays a getImage cannot be Saved. #752

Open
lgto4 opened this issue Feb 25, 2022 · 0 comments
Open

Processing.js program that displays a getImage cannot be Saved. #752

lgto4 opened this issue Feb 25, 2022 · 0 comments

Comments

@lgto4
Copy link

lgto4 commented Feb 25, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant