On Friday 01 July 2005 23:38, Joseph Quigley wrote:
> What else can I use besides .show() to display the image? I don't
> mind xv but on Windows it takes forever to load the picture. Is
> there an alternative? I found the PIL handbook but I can't find
> anything other than .show()
> Thanks,
>  Joe


Hi!
PIL cannot do it by itself.

However, Tkitner is largely distributed with Python - and is instaled 
by default in python for windows. 

So it is reasonably safe to create a Tkinter instance to display the 
image - even if your program uses another toolkit, the load should be 
less then xv. 

This was something I was wanting as well, so I crafted a small 
function which loads the needed modules and displays a new image. It 
can also work as a standallone lightweight "xv".

Enjoy!!

        JS
        -><-

Attachment: pyview.py
Description: application/python

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to