Skip to content

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

Open
@lgto4

Description

@lgto4

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions