Resizing of PIL images

Fredrik Lundh fredrik at pythonware.com
Wed Dec 21 11:56:24 EST 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.

</F>






More information about the Python-list mailing list