forked from mirrors/bookwyrm
Update preview_images.py
This commit is contained in:
parent
a8ae3c9950
commit
f7b117e4fb
1 changed files with 3 additions and 1 deletions
|
@ -266,7 +266,9 @@ def generate_preview_image(
|
|||
contents_y = margin
|
||||
|
||||
# Composite layers
|
||||
img.paste(inner_img_layer, (inner_img_x, inner_img_y), inner_img_layer.convert("RGBA"))
|
||||
img.paste(
|
||||
inner_img_layer, (inner_img_x, inner_img_y), inner_img_layer.convert("RGBA")
|
||||
)
|
||||
img.alpha_composite(contents_layer, (content_x, contents_y))
|
||||
|
||||
return img
|
||||
|
|
Loading…
Reference in a new issue