[Image-SIG] slow show

Fredrik Lundh fredrik at pythonware.com
Fri Aug 26 14:00:30 CEST 2005

Victor Reijs wrote:

> 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?

it's a stupid bug.  remind me to always use rectangular images when
testing code...

> Why not:
>         Window.__init__(self, title, width=image.size[0], height=image.size[1])

that makes a lot more sense.


More information about the Image-SIG mailing list