Interpause / auto-sd-paint-ext

Extension for AUTOMATIC1111 to add custom backend API for Krita Plugin & more
MIT License
475 stars 41 forks source link

Fix #148 expected rgb but got rgba #167

Open Artificiangel opened 9 months ago

Artificiangel commented 9 months ago

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.