Image open problem

John McMonagle johnmc at velseis.com.au
Wed Apr 19 21:52:43 EDT 2006


On Thu, 2006-04-20 at 10:29 +1000, John Machin wrote:
> On 20/04/2006 6:55 AM, Aleksandar Cikota wrote:
> > Hi all,
> > 
> > I have a problem with openning of an image.
> > 
> > Here is the Code:
> > 
> > from Tkinter import *
> > from PIL import Image, ImageTk

Change from PIL import Image, ImageTk to import PIL and change all your
corresponding Image calls to PIL.Image and all your ImageTk calls to
PIL.ImageTk.

If that works, then something else is mangling Image.

Regards,

John



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Python-list mailing list