Hello,

am I right to think that the rotate function of PIL 1.1.6 is broken?

Try this simple example:

import Image
import numpy as np
tab = np.random.rand(100).reshape(10,10)
im = Image.fromarray(tab)
assert(im == im.rotate(0))

I went a bit further and it seems that rotate translates the image of one pixel or so.

Cheers
Mathieu
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to