mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-30 11:11:15 +00:00
Merge pull request #12480 from catboxanon/fix/cc
Fix color correction by converting image to RGB
This commit is contained in:
@@ -57,7 +57,7 @@ def apply_color_correction(correction, original_image):
|
|||||||
|
|
||||||
image = blendLayers(image, original_image, BlendType.LUMINOSITY)
|
image = blendLayers(image, original_image, BlendType.LUMINOSITY)
|
||||||
|
|
||||||
return image
|
return image.convert('RGB')
|
||||||
|
|
||||||
|
|
||||||
def apply_overlay(image, paste_loc, index, overlays):
|
def apply_overlay(image, paste_loc, index, overlays):
|
||||||
|
|||||||
Reference in New Issue
Block a user