aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorcatboxanon <122327233+catboxanon@users.noreply.github.com>2023-08-11 16:22:11 +0000
committercatboxanon <122327233+catboxanon@users.noreply.github.com>2023-08-11 16:22:11 +0000
commitaf27b716e53671c52308d4e101214b0fd4fd5e80 (patch)
treed550f7c6a8fc57aca830af4aea50120ac82e8483 /modules
parentae6b30907db2060962c533de79ab4bd2c6b12297 (diff)
downloadstable-diffusion-webui-gfx803-af27b716e53671c52308d4e101214b0fd4fd5e80.tar.gz
stable-diffusion-webui-gfx803-af27b716e53671c52308d4e101214b0fd4fd5e80.tar.bz2
stable-diffusion-webui-gfx803-af27b716e53671c52308d4e101214b0fd4fd5e80.zip
Fix color correction by converting image to RGB
Diffstat (limited to 'modules')
-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):