update poster script
This commit is contained in:
parent
8d5f0075c9
commit
f58f130025
1 changed files with 0 additions and 5 deletions
|
@ -96,11 +96,6 @@ def render_poster(data, poster):
|
|||
else:
|
||||
draw.rectangle(((0, 0), frame_size), fill=image_color)
|
||||
|
||||
# logo
|
||||
logo_image = Image.open(os.path.join('/srv/pandora/static/png/', 'logo.png'))
|
||||
logo_image = logo_image.resize(logo_size, Image.ANTIALIAS)
|
||||
poster_image.paste(logo_image, (margin, margin), mask=logo_image.split()[3])
|
||||
|
||||
# small frames
|
||||
if duration:
|
||||
for i in range(small_frames):
|
||||
|
|
Loading…
Reference in a new issue