On May 9, 2010, at 4:03 AM, Xavier Ho wrote:
> On Sun, May 9, 2010 at 11:47 AM, David <erwi...@gmx.net> wrote:
>        return (((a * x) - 5*a) * x + 8*a) * x - 4*a;
> 
> Hello David,
> I just factored out from your patch, as a comment to your post.
> 
> ((x - 5) * x + 8) * a * x - 4*a;
> 

Yes, of course, thanks!

Actually there seems to be another bug in that file, which becomes apparent 
when a is not 0:
The support of the filter is set to 0.5 for every magnification, which degrades 
ANTIALIAS and BICUBIC
resizing to something that looks close to BILINEAR. The attached patch attempts 
to fix both.

till then, David.

Attachment: bicubic.patch
Description: Binary data

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

Reply via email to