I am running Python 2.6 on a new Win7 machine. Installed PIL from the PIL-1.1.7.win32-py2.6.exe binary. I am trying to resize a jpg. I get the IOError message "decoder jpeg not available" when I call the save() method:

im = Image.open(infile)
im = im.resize(newsize,Image.ANTIALIAS)
im.save(outfile, "JPEG", quality=90)

I have scanned a year of back messages on this list without seeing any relevant advice. I have used PIL with the same code on other Win32 machines without problems.

Help or advice would be appreciated.

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

Reply via email to