Archived
1
0
Fork 0
This commit is contained in:
yzhh 2022-07-13 01:43:35 +08:00
parent b5f4f98288
commit b7777eb003
2 changed files with 2 additions and 2 deletions

View file

@ -341,7 +341,7 @@ class DrawBest(object):
authorBoardImg = Image.open(self.pic_dir + 'UI_CMN_MiniDialog_01.png').convert('RGBA') authorBoardImg = Image.open(self.pic_dir + 'UI_CMN_MiniDialog_01.png').convert('RGBA')
authorBoardImg = self._resizePic(authorBoardImg, 0.35) authorBoardImg = self._resizePic(authorBoardImg, 0.35)
authorBoardDraw = ImageDraw.Draw(authorBoardImg) authorBoardDraw = ImageDraw.Draw(authorBoardImg)
authorBoardDraw.text((31, 28), ' Ported by\nAkaribot', 'black', font2) authorBoardDraw.text((31, 28), ' Ported by\n Akaribot', 'black', font2)
self.img.paste(authorBoardImg, (1224, 19), mask=authorBoardImg.split()[3]) self.img.paste(authorBoardImg, (1224, 19), mask=authorBoardImg.split()[3])
dxImg = Image.open(self.pic_dir + 'UI_RSL_MBase_Parts_01.png').convert('RGBA') dxImg = Image.open(self.pic_dir + 'UI_RSL_MBase_Parts_01.png').convert('RGBA')

View file

@ -344,7 +344,7 @@ class DrawBest(object):
authorBoardImg = Image.open(self.pic_dir + 'UI_CMN_MiniDialog_01.png').convert('RGBA') authorBoardImg = Image.open(self.pic_dir + 'UI_CMN_MiniDialog_01.png').convert('RGBA')
authorBoardImg = self._resizePic(authorBoardImg, 0.35) authorBoardImg = self._resizePic(authorBoardImg, 0.35)
authorBoardDraw = ImageDraw.Draw(authorBoardImg) authorBoardDraw = ImageDraw.Draw(authorBoardImg)
authorBoardDraw.text((31, 28), ' Ported by\nAkaribot', 'black', font2) authorBoardDraw.text((31, 28), ' Ported by\n Akaribot', 'black', font2)
self.img.paste(authorBoardImg, (1224, 19), mask=authorBoardImg.split()[3]) self.img.paste(authorBoardImg, (1224, 19), mask=authorBoardImg.split()[3])
dxImg = Image.open(self.pic_dir + 'UI_RSL_MBase_Parts_01.png').convert('RGBA') dxImg = Image.open(self.pic_dir + 'UI_RSL_MBase_Parts_01.png').convert('RGBA')