Resizing of PIL images

Peter Hansen peter at
Wed Dec 21 16:37:07 EST 2005

Fredrik Lundh wrote:
> Peter Hansen wrote:
>>See the docs on transform().  From the sounds of it, if resize() won't
>>stretch something (it's own docs don't make that clear)
> "resize" resizes the image to the given size.
> "thumbnail" (which is an in-place operation) doesn't; it creates an
> image no larger than the given size.

Ah... probably thumbnail() was what the OP was using when he referred to 

More information about the Python-list mailing list