update poster script

This commit is contained in:
Rolux 2015-09-21 17:41:12 +01:00
parent 8d5f0075c9
commit f58f130025

View file

@ -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):