Resizing of PIL images

Fredrik Lundh fredrik at
Wed Dec 21 17:56:24 CET 2005

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.


More information about the Python-list mailing list