[Image-SIG] Image.resize problem
David Dahl
david at ddahl.com
Sun Sep 11 05:02:47 CEST 2005
For some reason Image.resize will not work for me. Here is my method:
import Image
def resize_image(self,infile,outfile):
im = Image.open(infile)
size = 800, 600
im.resize(size)
im.save(outfile,'JPEG' )
The files is written, but it is the same size as the original file.
The thumbnail function works fine, maybe that is all I need? What is
the real difference between resize() and thumbnail()?
Best Regards,
David
More information about the Image-SIG
mailing list