Schedule newsletters

This commit is contained in:
JonnyWong16 2018-01-13 21:13:55 -08:00
parent 2a24ea4cdf
commit 46f7a92c97
5 changed files with 57 additions and 8 deletions

View file

@ -1098,7 +1098,7 @@ def get_poster_info(poster_thumb='', poster_key='', poster_title='', art=False,
img = Image.open(poster_file)
img = img.convert("RGBA")
img = img.filter(ImageFilter.GaussianBlur(3)) # 3px blur
img.putalpha(102) # 40% opacity
img.putalpha(64) # 40% opacity
# Save as a png
poster_file_blur = os.path.join(plexpy.CONFIG.CACHE_DIR, 'cache-image-%s.png' % thread_name)