[Image-SIG] Antialias, Bicubic resampling not working...

Fredrik Lundh fredrik at pythonware.com
Mon Sep 17 00:47:56 CEST 2007

Justin Fagnani-Bell wrote:

> I'm writing a thumb-nailing script that also rotates the thumbs, so  
> I'm using both Image.thumbnail and Image.rotate. Neither antialiasing  
> with thumbnail, or bicubic with rotate are working, adn the results  
> look horrendous with nearest neighbor. I'm not getting any errors,  
> and I haven't figured anything out by digging through the PIL source.  
> I have version 1.1.6 installed via MacPorts.

What's the "mode" attribute for these images?  Does it work better if you do

    image = image.convert("RGB")



More information about the Image-SIG mailing list