[Image-SIG] im.save options

Fredrik Lundh fredrik at pythonware.com
Sun Aug 28 22:02:50 CEST 2005


Jim Tittsler wrote;

>>     I want to keep the highest qualitiy. how?
>
> I may be misunderstanding, because I'm not sure what the '12' is for.  I
> believe you want something like:
>
> out.save(outfile, "JPEG", quality=100)

footnote: the default (75) is in fact a good choice for most images, and
values above 95 make very little sense.  for a more extensive discussion
of this, see:

    http://www.faqs.org/faqs/jpeg-faq/part1/section-5.html

</F> 





More information about the Image-SIG mailing list