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
相關文章
相關標籤/搜索