And running it on Python 2 with the latest version of Pillow (py -2 rotpixels.py -i wow.png -o wow3.png -r 10) produces:
Traceback (most recent call last):
File "rotpixels.py", line 352, in <module>
main()
File "rotpixels.py", line 345, in main
inpar=opt.inpar, outpar=opt.outpar)
File "rotpixels.py", line 242, in rotpixels
outsize=(outsize[0] * 8, outsize[1] * 8))
File "rotpixels.py", line 180, in my_rotate
from Image import AFFINE
ImportError: No module named Image
Attempting to run it as Python 3 produces:
And running it on Python 2 with the latest version of Pillow (
py -2 rotpixels.py -i wow.png -o wow3.png -r 10
) produces: