This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients docs@python, gpolo, martin.panter, serhiy.storchaka
Date 2014-05-28.16:16:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401293803.08.0.0721207945079.issue21580@psf.upfronthosting.co.za>
In-reply-to
Content
All works to me.

>>> import tkinter
>>> b = tkinter.Button()
>>> with open('Lib/test/imghdrdata/python.gif', 'rb') as f: data = f.read()
... 
>>> img = tkinter.PhotoImage(data=data)
>>> b['image'] = img
>>> b.pack()

Could you please provide an example which demonstrates the issue?
History
Date User Action Args
2014-05-28 16:16:43serhiy.storchakasetrecipients: + serhiy.storchaka, gpolo, docs@python, martin.panter
2014-05-28 16:16:43serhiy.storchakasetmessageid: <1401293803.08.0.0721207945079.issue21580@psf.upfronthosting.co.za>
2014-05-28 16:16:43serhiy.storchakalinkissue21580 messages
2014-05-28 16:16:42serhiy.storchakacreate