mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-04 05:45:05 +08:00
Fix color correction by converting image to RGB
This commit is contained in:
parent
ae6b30907d
commit
af27b716e5
@ -57,7 +57,7 @@ def apply_color_correction(correction, original_image):
|
||||
|
||||
image = blendLayers(image, original_image, BlendType.LUMINOSITY)
|
||||
|
||||
return image
|
||||
return image.convert('RGB')
|
||||
|
||||
|
||||
def apply_overlay(image, paste_loc, index, overlays):
|
||||
|
Loading…
Reference in New Issue
Block a user