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

Fix #148 expected rgb but got rgba #167

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Artificiangel
Copy link

I saw that the issue was marked as complete but I found myself having the same issue.

Some people's SD installations might return RGBA.
Limit the line r, g, b = img.split() to the first 3 channels because the plugin already has a mask variable.
The issue was caused by the stable diffusion setting: (img2img > include masked composite) being enabled.

Limit the line `r, g, b = img.split()` to the first 3 channels because the plugin already has a mask variable.

The issue was caused by the stable diffusion setting: (img2img > include masked composite) being enabled.
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

Successfully merging this pull request may close these issues.

None yet

1 participant