title: How to adjust the quality of a resized image in Python Imaging Library?
body: <p>I am working on PIL and need to know if the image quality can be adjusted while resizing or thumbnailing an image. From what I have known is the default quality is set to 85. Can this parameter be tweaked during resizing?</p>
  
  <p>I am currently using the following code:</p>
  
  <pre><code>image = Image.open(filename)
  image.thumbnail((x, y), img.ANTIALIAS)
  </code></pre>
  
  <p>The <code>ANTIALIAS</code> parameter presumably gives the best quality. I need to know if we can get more granularity on the quality option.</p>