diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-12 06:12:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-12 06:12:30 +0000 |
commit | 26c92f056acc795af5066779f1b8aedb8dfa983d (patch) | |
tree | 2d624aca5bfe83c5c7f5f3350f5efb1f895d3814 | |
parent | ebc1bafb03ff5a2af8e013833d1f77b2cdaa88ce (diff) | |
parent | af27b716e53671c52308d4e101214b0fd4fd5e80 (diff) | |
download | stable-diffusion-webui-gfx803-26c92f056acc795af5066779f1b8aedb8dfa983d.tar.gz stable-diffusion-webui-gfx803-26c92f056acc795af5066779f1b8aedb8dfa983d.tar.bz2 stable-diffusion-webui-gfx803-26c92f056acc795af5066779f1b8aedb8dfa983d.zip |
Merge pull request #12480 from catboxanon/fix/cc
Fix color correction by converting image to RGB
-rwxr-xr-x | modules/processing.py | 2 |
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):
|