python 使用PIL模块将文字写入到图片上

PIL基础 http://www.javashuo.com/article/p-nmofevca-d.htmlweb from PIL import ImageFont,ImageDraw,Image image=Image.open(‘djjd.jpg’)svg drawobj=ImageDraw.Draw(image)字体 text=‘hello world’ #位置 文本 颜色 drawob
相关文章
相关标签/搜索