[Tutor] [tutor] Zoom in and zoom out capability

Varsha Purohit varsha.purohit at gmail.com
Thu Jan 10 02:17:47 CET 2008

Hi Alan,
     Yeah i read about them. i tried using the resize function but i was
having difficulty with clarity of the image. I had asked similar thing in
another post. I didnt get any satisfying answer for that. Tried
thats not workin out properly. :(

Well in my application i need to make a button which when pressed should
zoom in the image so i was wondering how can i implement it i mean how
should i present the image with more size in a fixed size image panel. Any
ideas.. i am even plannin to implement a slider which will zoom in and out
the image accordingly..


On Jan 9, 2008 12:11 PM, Alan Gauld <alan.gauld at btinternet.com> wrote:

> "Varsha Purohit" <varsha.purohit at gmail.com> wrote
> > 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.
> A few minutes browsing the PIL documentation leads
> me to think there are. Try reading about crop and resize and
> maybe thumbnail.
> Between them these should just about cover your needs I think.
> HTH,
> --
> Alan Gauld
> Author of the Learn to Program web site
> http://www.freenetpages.co.uk/hp/alan.gauld
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080109/fd44a786/attachment-0001.htm 

More information about the Tutor mailing list