安装conda install pillow围绕非中心点旋转from PIL import Image im = Image.new("RGB", (100, 100)) resultIm = im.rotate(45, center=(25, 25))
安装conda install pillow围绕非中心点旋转from PIL import Image im = Image.new("RGB", (100, 100)) resultIm = im.rotate(45, center=(25, 25))