Re: PIL(Pillow) fails with PNG image

2013-12-05 Thread Christian Gollwitzer
Am 05.12.13 21:26, schrieb tastyminerals: Hi, I am getting an error when trying to use Pillow library to display image PNG on a Tkinter Button widget. Here is my code. |image= Image.open(os.path.join('icons','bulb.png')) # using PIL for png images self.correctGuessImage= ImageTk.Ph

Re: PIL(Pillow) fails with PNG image

2013-12-05 Thread John Gordon
In tastyminerals writes: > d= Image._getdecoder(self.mode, d, a, self.decoderconfig) > AttributeError: 'module' object has no attribute'_getdecoder'||| Do you have your own module named Image.py? -- John Gordon Imagine what it must be like for a real medical doctor to gor.

Re: PIL(Pillow) fails with PNG image

2013-12-05 Thread Terry Reedy
I cannot answer your question, but wanted to mention that you should send text only and not include an html copy of messages. On 12/5/2013 3:26 PM, tastyminerals wrote: Hi, I am getting an error when trying to use Pillow library to display image PNG on a Tkinter Button widget. Here is my code.

PIL(Pillow) fails with PNG image

2013-12-05 Thread tastyminerals
Hi, I am getting an error when trying to use Pillow library to display image PNG on a Tkinter Button widget. Here is my code. |image= Image.open(os.path.join('icons','bulb.png')) # using PIL for png images self.correctGuessImage= ImageTk.PhotoImage(image) |>>> |File "/home/user/Do