[Image-SIG] that's enough
Jack Uretsky
jlu at hep.anl.gov
Thu Jul 29 04:56:57 CEST 2010
Hi all-
I suspect that my phrasing was a distraction. There is a python
command that brings up an X11 window. Is there a python command that make
the window go away?
This is a general question, independent of the particular context
of my program.
Regards,
Jack
"Trust me. I have a lot of experience at this."
General Custer's unremembered message to his men,
just before leading them into the Little Big Horn Valley
On Tue, 20 Jul 2010, Dan Halbert wrote:
> On 7/20/2010 7:09 PM, Jack Uretsky wrote:
>> Hi all-
>> I'm really grateful for all the help, but my question seems to have
>> gotten lost. I was really happy with "show', except that I could not stop
>> the display. Is it in fact true that there is no way to stop a 'show"
>> display of an image in order to do a subsequent 'show' display of a
>> different image?
>> Regards,
>> Jack
> show() is meant for very casual "manual" viewing of images, really for
> debugging. It just invokes some image display or other, depending on which
> platform it's running on.
>
> PIL itself has no other UI stuff built in, as its focus is an image
> manipulation library. You need a UI library of some kind. You might try
> starting with TkInter. Here are a few elementary examples of displaying
> images using TkInter:
> http://code.activestate.com/recipes/521918-pil-and-tkinter-to-display-images/
> http://www.noah.org/wiki/PIL_Image_show_with_Tk
> _______________________________________________
> Image-SIG maillist - Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
>
More information about the Image-SIG
mailing list