Python-Pillow库给图片添加文字、水印

apt-get install -y python-PILhtml   在图片右下角添加文字:python   Python字体 # -*- coding: utf-8 -*- from PIL import Image, ImageDraw, ImageFont # 指定要使用的字体和大小;/Library/Fonts/是macOS字体目录;Linux的字体目录是/usr/share/fon
相关文章
相关标签/搜索