Re: Problem with Tkinter.PhotoImage

2008-01-10 Thread Fredrik Lundh
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 : > img = Tkinter.PhotoImage(file='/home/omer/fgfs/fgsync/map.xpm') > Traceback (most recent call last): > File "", line 1, in

Re: Problem with Tkinter.PhotoImage

2008-01-10 Thread Kevin Walzer
Cédric Lucantis wrote: > Hi, > > 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 addi

Problem with Tkinter.PhotoImage

2008-01-10 Thread Cédric Lucantis
Hi, 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 : >>> img = Tkinter.PhotoImage(file='/home/omer/fgfs/fgsync/map.xpm') Traceback (most recent call last): File "", line 1, in ? File "/usr/lib/python2.4/l