> Has anyone had any luck using GdkImlib? I can't get it to load
> any images at all. The following simple program
>
> from GdkImlib import *
> image = Image("/home/epg/test.xpm")
>
> gives the following error message:
>
> /convert: No such file or directory
> gdk_imlib ERROR: Cannot load image: /home/epg/1.xpm
> All fallbacks failed.
Is it "/home/epg/test.xpm" or "/home/epg/1.xpm" ?? Check the filename
again. Btw, the following little program works over here:
#!/usr/bin/python
from gtk import *
import GdkImlib
win = GtkWindow ()
win.connect ("destroy", mainquit)
im = GdkImlib.Image ("/home/epg/test.xpm")
im.render () # don't forget this
pix = im.make_pixmap () # or this
win.add (pix)
pix.show ()
win.show ()
mainloop ()
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk