On Apr 3, 2006, at 00:38, Nir Soffer wrote:
> When I try to save JPEG files with quality above 85 and optimize=1, I
> get this traceback:
>>>> image.save("foo.jpg", quality=86, optimize=1)
>
> Suspension not allowed hereTry this workaround for the way the JPEG library works: http://mail.python.org/pipermail/image-sig/1999-August/000816.html > "The available options are described later in this handbook." > Where is the link to the options? at least where is "later"? There is an appendix titled "Image File Formats" that includes notes including the options accepted by save() and the 'info' properties supported by each format. In the online version, it is here: http://www.pythonware.com/library/pil/handbook/formats.htm Of course, looking through the code is the best method to get up to date information. :-) -- Jim Tittsler 7J1AJH/AI8A Tokyo GPG: 0x01159DB6 http://www.qsl.net/7j1ajh/ QRP/Satellites/APRS AMSAT/NZART _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
