Re: IOError "decoder jpeg not available" on Win7 (2nd try)
Edward Cannon <[email protected]>
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <[email protected]> |
That seems weird. I have win7 and python 2.6 and do not have any problems. Maybe a clean install will help. Edward Cannon Unicorn School On Sep 8, 2010, at 1:08 PM, David <[email protected]> wrote: > I sent this to the list a week ago with no result. 2nd try. > > I am running Python 2.6 on a new Win7 machine. I have 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. Since it is a prebuild binary, the > jpeg decoder should be present. > > Help or advice would be appreciated. > > David Flory > _______________________________________________ > Image-SIG maillist - [email protected] > http://mail.python.org/mailman/listinfo/image-sig _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig