[Image-SIG] Zooming any image
Fredrik Lundh
fredrik at pythonware.com
Wed Jan 9 16:16:00 CET 2008
Varsha purohit wrote:
> In my program i have a gui where i am showing an image on the
> panel. I want to implement zoom in and zoom out functions using wxpython
> and PIL. I am tryin to find in PIL if there is any functionality like that.
the transpose(EXTENT) method is often used for this:
http://effbot.org/tag/PIL.Image.Image.transform
just pass in the size of the viewport and the area you want to display,
given as a bounding box.
</F>
More information about the Image-SIG
mailing list