forked from 0x2620/pandora
in 0xdb poster script, use new logo
This commit is contained in:
parent
b99e57ba15
commit
9e7103bbdc
3 changed files with 1 additions and 1 deletions
BIN
scripts/data/logo.0xdb.png
Normal file
BIN
scripts/data/logo.0xdb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
Binary file not shown.
Before Width: | Height: | Size: 38 KiB |
|
@ -80,7 +80,7 @@ def render_poster(data, poster):
|
||||||
draw.rectangle(((0, 0), frame_size), fill=image_color)
|
draw.rectangle(((0, 0), frame_size), fill=image_color)
|
||||||
|
|
||||||
# logo
|
# logo
|
||||||
logo_image = Image.open(os.path.join(static_root, 'logo.png'))
|
logo_image = Image.open(os.path.join(static_root, 'logo.0xdb.png'))
|
||||||
logo_image = logo_image.resize(logo_size, Image.ANTIALIAS)
|
logo_image = logo_image.resize(logo_size, Image.ANTIALIAS)
|
||||||
for y in range(logo_size[1]):
|
for y in range(logo_size[1]):
|
||||||
for x in range(logo_size[0]):
|
for x in range(logo_size[0]):
|
||||||
|
|
Loading…
Reference in a new issue