toy with overlay modes

This commit is contained in:
nexy7574 2023-09-21 20:17:05 +01:00
parent b5b73fa987
commit 61dc227df2

View file

@ -41,7 +41,7 @@ def overlay_logo(img: PIL.Image.Image) -> PIL.Image.Image:
logo = logo.resize((1024, 1024))
img = img.resize((1024, 1024))
img = _overlay_images(img, logo, blend_modes.darken_only)
img = _overlay_images(img, logo, blend_modes.lighten_only, 0.9)
return img