[Image-SIG] slow show
Victor Reijs
geniet2003 at iol.ie
Fri Aug 26 11:32:49 CEST 2005
Hello Fredrik
Fredrik Lundh wrote:
> import ImageWin
> im = ...
> w = ImageWin.ImageWindow(im)
> w.mainloop() # this will block until the window is closed
This indeed work nicely, but I have a question related to the python
code that implements this. If I look in the inititialization of
ImageWin.py, do you think the statement on line 211 is correct?
Window.__init__(self, title, width=image.size[0],
height=image.size[0])
Or is it done on purpose that height is the same as width?
Why not:
Window.__init__(self, title, width=image.size[0],
height=image.size[1])
All the best,
Victor
More information about the Image-SIG
mailing list