[Image-SIG] Bug in Image.rotate?

Fredrik Lundh fredrik at pythonware.com
Fri Jul 3 11:57:37 CEST 2009

On Fri, Jul 3, 2009 at 9:43 AM, Ulf Renman<ulf.renman at favoptic.com> wrote:
> Hi
> Two diffrent uses of rotate:
>  1. img.rotate(30, Image.BICUBIC)
>  2. img.rotate(30, Image.BICUBIC, expand=True)
> When I use the first one I get the expected result. But when I use the
> second one the result looks as if the filter used for the rotation was
> Image.NEAREST.
> Is this a "feature" or a bug? I'm no expert at image handling, so please
> explain this to me. Thanks.

It's a bug in 1.1.6; the fix is part of this patch:



More information about the Image-SIG mailing list