1
0
Fork 0
mirror of synced 2024-05-04 04:32:34 +12:00

Pillow changes

This commit is contained in:
phxntxm 2017-07-02 23:55:27 -05:00
parent 9fd3891125
commit 13ce1d861e
2 changed files with 3 additions and 2 deletions

View file

@ -92,7 +92,8 @@ async def create_banner(member, image_title, data):
stat_offset = draw.textsize(text, font=font, spacing=0)
font = ImageFont.truetype(whitneyMedium, 96)
draw.text((360, -4), text, (255, 255, 255), font=font, align="center")
# draw.text((360, -4), text, (255, 255, 255), font=font, align="center")
draw.text((360, -4), text, (255, 255, 255), font=font)
draw.text((360 + stat_offset[0], -4), stat_text, (0, 402, 504), font=font)
save_me = text_bar.resize((350, 20), Image.ANTIALIAS)
offset += 20

View file

@ -1,5 +1,5 @@
beautifulsoup4==4.6.0
Pillow==3.4.1
Pillow==4.2.0
rethinkdb==2.3.0.post6
ruamel.yaml==0.14.12
youtube-dl