Fix backwards logic

This commit is contained in:
Sean McLellan 2022-08-26 00:49:12 -04:00
parent f1ffb5b51b
commit 407d70a987

View File

@ -531,7 +531,7 @@ The vast majority of these arguments default to reasonable values.
if strength < 1.0:
# Resize the image to the new image if the sizes have changed
if restored_img.size != image.size:
res = res.resize(image.size)
image = image.resize(res.size)
res = Image.blend(image, res, strength)
return res