[Image-SIG] Poor Image Quality When Resizing a GIF

Andy McCurdy andy at andymccurdy.com
Thu Jan 10 00:45:16 CET 2008


Thanks Douglas.  Just tested it out, and the quality has improved
dramatically on all GIF images I threw at it.

On Jan 9, 2008 3:34 PM, douglas bagnall <douglas at paradise.net.nz> wrote:
> Andy McCurdy <andy at andymccurdy.com> wrote:
>
> > I interpreted your response as a setting to change to make this
> > specific image resize better.  I'm using PIL to resize images that
> > users upload to my website.  Since I don't have control over the
> > media, I need generic settings that will be good for all users.  What
> > settings would you suggest to be best for all images, not just the
> > example I provided?
>
> Using palette=Image.ADAPTIVE will be better for all images unless the
> images are already in the web palette, or the viewers are from 1995
> and have 256 colour displays.  Both of these are unlikely, and in any
> case the adaptive system will work well enough for them. It will be
> slower though.
>
> douglas
>


More information about the Image-SIG mailing list