from PIL import Image, ImageFont, ImageDraw
im = Image.open("BC03.jpg")
print(im.format, im.size, im.mode)
draw = ImageDraw.Draw(im)
#font = ImageFont.truetype(None, size = 40)
ft=ImageFont.truetype("C:\\Windows\\Fonts\\Arial.ttf",size=80)
draw.text((200,200), 'good write why write',font=ft,fill = (255, 0 ,0))
im.show()
im.save('BC03new10.jpg',quality=95)
draw.text(font=ft)这个参数不可少,