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

Impossible to save mask in LoadImage node on website #19

Open
marom17 opened this issue Jul 24, 2024 · 1 comment
Open

Impossible to save mask in LoadImage node on website #19

marom17 opened this issue Jul 24, 2024 · 1 comment

Comments

@marom17
Copy link

marom17 commented Jul 24, 2024

Hi,

I get the following error when a try to save the mask of the LoadImage node on the website:

Uncaught (in promise) DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
at MaskEditorDialog.save (https://iframe.getsalt.ai/extensions/core/maskeditor.js:844:32)
at HTMLButtonElement. (https://iframe.getsalt.ai/extensions/core/maskeditor.js:229:10)

Step to reproduce:
Create a new workflow on getsalt.ai
Create a LoadImage node
Upload an image
Create a mask
Click save mask
Nothing happen and an error is shown in the console

Tested on Firefox and Edge

@WAS-PlaiLabs
Copy link
Collaborator

A work around in the meantime would be to convert the mask to a image, and output with the SaltOutput node.

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

2 participants