Merge pull request #12480 from catboxanon/fix/cc

Fix color correction by converting image to RGB
This commit is contained in:
AUTOMATIC1111 2023-08-12 09:12:30 +03:00 committed by GitHub
commit 26c92f056a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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):