# -*- 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')