Commit b32a334e authored by CodeHatchling's avatar CodeHatchling

Applies a convert('RGBA') operation early to mimic previous behaviour.

parent 60c60223
......@@ -1500,7 +1500,7 @@ class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
if image_mask is not None:
if self.soft_inpainting is not None:
# We apply the masks AFTER to adjust mask based on changed content.
self.overlay_images.append(image)
self.overlay_images.append(image.convert('RGBA'))
self.masks_for_overlay.append(image_mask)
else:
image_masked = Image.new('RGBa', (image.width, image.height))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment