用户:
ZZed查看:0 回复:1 评论:0 创建时间:2023-07-31T15:16:37
【作品展示】

【作品介绍】
111
【作品源代码】
from PIL import Image, ImageDraw
import matplotlib.pyplot as plt
img = Image.open("bcm.jpg")
draw = ImageDraw.Draw(img)
draw.text((10, 10), 'a\nm\na\nz\ni\nn\ng', fill=(0, 0, 0))
plt.imshow(img)
plt.show()
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn