[Image-SIG] Trying to achive better quality resizing images

Paulo Eduardo Neves usenet123@samba-choro.com.br
Mon, 4 Mar 2002 22:08:36 -0300


I've noticed that when I resize my photograph jpg images with PIL I get 
a low quality out put.  See this:

The original image (big - 515K):
http://www.samba-choro.com.br/s-c/imagens/teste/

Now resizing it to have a width of 500px with the same aspect ratio:
http://www.samba-choro.com.br/s-c/imagens/teste/PILnearest.jpg
http://www.samba-choro.com.br/s-c/imagens/teste/PILbilinear.jpg
http://www.samba-choro.com.br/s-c/imagens/teste/PILbicubic.jpg
I'm just opening the original image, and calling resize.

Now the same resize using ImageMagick:
http://www.samba-choro.com.br/s-c/imagens/teste/CentroMagick.jpg

ImageMagick has, by far, the best output. 

I've found an old thread about it in this list:
http://aspn.activestate.com/ASPN/Mail/Message/583399

Fredrik Lundh suggests:
http://aspn.activestate.com/ASPN/Mail/Message/583404

I've tried it and achieved:
http://www.samba-choro.com.br/s-c/imagens/teste/iteracaofinal.jpg
it also doesn't have a good enough quality. 

Am I missing  something? 

regards,
-- 
Paulo Eduardo Neves
Agenda do Samba & Choro, o boteco virtual do samba e choro
http://www.samba-choro.com.br