This commit is contained in:
Samuel Lazareanu
2023-05-09 11:50:04 +03:00
parent 22b00b5240
commit 3d6a0e89ab
130 changed files with 219 additions and 15 deletions

View File

@@ -148,7 +148,7 @@ def create_post(image_file, quote_text, quote_font, author_font, output_path, fi
img_logo = Image.open(logo_file)
# Reduce the alpha of the overlay image by 30%
alpha = 0.7
alpha = 0.3
enhancer = ImageEnhance.Brightness(img_logo)
img_logo_darken = enhancer.enhance(alpha)