[Image-SIG] bug in docs for Image.rotate()

Fredrik Lundh fredrik at pythonware.com
Sun Aug 1 13:46:12 CEST 2010


2010/7/22 Bill Janssen <janssen at parc.com>:
> Bill Janssen <janssen at parc.com> wrote:
>
>> Hmmm, the docs say that Image.rotate() has a "filter" keyword arg, but
>> the code says that it's really "resample".  Note that the docstring in
>> the code is wrong, too.  This is 1.1.6 I'm looking at.
>
> Also wrong in 1.1.7.  And, in Image.rotate(), if you specify a
> "resample" param and also "expand=True", the resample param is not
> passed on to Image.transform().

The resample bug should be fixed in 1.1.7:

http://hg.effbot.org/pil-117/changeset/db1b40ca85c4

</F>


More information about the Image-SIG mailing list