Problem with Tkinter.PhotoImage
kw at codebykevin.com
Thu Jan 10 16:42:21 CET 2008
Cédric Lucantis wrote:
> I can only load gif images with Tkinter.PhotoImage and none with BitmapImage.
> I tried png, jpg, bmp and xpm and always got this errors :
That's because Tk only supports the gif format natively. You need to
install an additional photo library to support additional images (Tk has
an Img extension, and Python Image Library is also very good).
Code by Kevin
More information about the Python-list