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
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
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