update image_utils

This commit is contained in:
HibiKier
2022-06-18 15:23:36 +08:00
parent 903b5b88a7
commit 68052b526f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1507,7 +1507,7 @@ async def text2image(
w, _ = _tmp.getsize(x.strip() or "正")
height += h + line_height
width = width if width > w else w
image_list.append(BuildImage(w, h, font=font, font_size=font_size, plain_text=x.strip()))
image_list.append(BuildImage(w, h, font=font, font_size=font_size, plain_text=x.strip(), color=color))
width += pw
height += ph
A = BuildImage(