Re: [Tutor] Displaying .jpg in Tkinter (Python 3.1)

2009-08-31 Thread Dirk Wangsadirdja
Hi, with Tkinter, you can only display GIF and PGM/PPM images. when you try to create an PhotoImage object from another file format (JPG for example), it will give you an error. Alan Gauld wrote: "Dirk Wangsadirdja" wrote is there anyway to display a .jpg (or other type) images in Tkinter

Re: [Tutor] Displaying .jpg in Tkinter (Python 3.1)

2009-08-31 Thread Alan Gauld
"Dirk Wangsadirdja" wrote is there anyway to display a .jpg (or other type) images in Tkinter with Python 3.1? You can display a limited set of image types, including GIF and JPG in Tkinter without PIL. Several Widgets take an image including the Canvas and Text widgets. I think a label can

[Tutor] Displaying .jpg in Tkinter (Python 3.1)

2009-08-31 Thread Dirk Wangsadirdja
hi, is there anyway to display a .jpg (or other type) images in Tkinter with Python 3.1? From what I read here in the forum, for Python 2.6 I could use the PIL package. But the PIL packages doesnt support Pyton 3.1 yet (from what I read on the PIL website). Are there perhaps other packages