图像旋转任意角度+python

# -*- coding: utf-8 -*-
from PIL import Image
from numpy import *

for i in range(1,360):
pil_im = Image.open('./13.jpeg')
pil_im = pil_im.rotate(i)
print (pil_im.size)
pil_im.save('./30_'+str(i+10)+'.bmp')

posted @ 2021-05-13 14:41  皮卡皮卡妞  阅读(979)  评论(0编辑  收藏  举报