[Image-SIG] im.save() Jpeg file Quality
Jim Tittsler
jwt at OnJapan.net
Thu Jun 24 04:30:40 EDT 2004
On Fri, Jun 11, 2004 at 10:40:30PM +0100, Alex Lovering wrote:
> I am trying to create a batch file converter but I am
> struggling to define the output compression quality of the
> saved jpeg file:
>
> The PIL Library Overview (1.1.3 March 2002) states on page 21:
> im.save(outfile,format,options)
> where the available options are detailed later in the book
The save method accepts some keyword options which are
processed by the underlying coder if it knows how to honor
them.
im.save(outfile, quality=50)
The CHANGES-1XX file is one place to find a list of options.
More information about the Image-SIG
mailing list