Re: [Image-SIG] Error when saving JPEG with quality above 85 and optimize
by Jim Tittsler other posts by this author
Apr 2 2006 4:41PM messages near this date
[Image-SIG] Error when saving JPEG with quality above 85 and optimize
|
[Image-SIG] messages stuck in moderation queue
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 here
Try 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 - Image-SIG@[...].org
http://mail.python.org/mailman/listinfo/image-sig
Thread:
Nir Soffer
Jim Tittsler
|