问题: 在执行ImageDraw()的multiline_text()时出现报错
draw = ImageDraw.Draw(target)
draw.multiline_text(self.text_loc[col], multi_text, fill=(font_color, font_color, font_color), font=self.font, spacing=4, align='left')
SystemError: <built-in method render of Font object at 0x0000019EFDF54DC8> returned NULL without seting an error
改正:
text_loc文本中的最后为’\n’,把 ‘\n’ 去掉就好了