I am using PIL 1.1.6, and found a trivial-to-fix bug in the Image.rotate method:

If the expand argument is True (1), then the resample argument is ignored. Line 1320 is:

            return self.transform((w, h), AFFINE, matrix)

and should be:

            return self.transform((w, h), AFFINE, matrix, resample)

I also noticed that the documentation incorrectly specifies the resample argument as filter.

Thanks.

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

Reply via email to