diff options
author | catboxanon <122327233+catboxanon@users.noreply.github.com> | 2023-08-11 12:22:11 -0400 |
---|---|---|
committer | catboxanon <122327233+catboxanon@users.noreply.github.com> | 2023-08-11 12:22:11 -0400 |
commit | af27b716e53671c52308d4e101214b0fd4fd5e80 (patch) | |
tree | d550f7c6a8fc57aca830af4aea50120ac82e8483 /modules/processing.py | |
parent | ae6b30907db2060962c533de79ab4bd2c6b12297 (diff) |
Fix color correction by converting image to RGB
Diffstat (limited to 'modules/processing.py')
-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):
|