PIL how to enlarge image
Tim Roberts
timr at probo.com
Sat Dec 4 23:11:34 EST 2010
robos85 <progreo at gmail.com> wrote:
>
>Hi, I try to enlarge original image.
>I have image in size: 100x100 and I want to make it 120x120.
>But resize() doesn't make it bigger. Is there any method for that?
"resize" does not change the image. Instead, it returns the resized image.
If you don't need the original any more:
img = img.resize((120,120))
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list