aboutsummaryrefslogtreecommitdiff
path: root/modules/processing.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-12 09:12:30 +0300
committerGitHub <noreply@github.com>2023-08-12 09:12:30 +0300
commit26c92f056acc795af5066779f1b8aedb8dfa983d (patch)
tree2d624aca5bfe83c5c7f5f3350f5efb1f895d3814 /modules/processing.py
parentebc1bafb03ff5a2af8e013833d1f77b2cdaa88ce (diff)
parentaf27b716e53671c52308d4e101214b0fd4fd5e80 (diff)
Merge pull request #12480 from catboxanon/fix/cc
Fix color correction by converting image to RGB
Diffstat (limited to 'modules/processing.py')
-rwxr-xr-xmodules/processing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index c048ca25..131c4c3c 100755
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -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):