Loading image types other than xpm/xbm



I cannot seem to figure out how to load images other than xbm's as the
graphics I want to use are jpgs,bmps,pngs etc.

I tried using
#define FILENAME "test.jpg"
gdk_imlib_load_file_to_pixmap  (FILENAME, Picture, PictureMask) to no avail
(just crashes).

Is there a better way to do this???  I'm pretty much new to GTK but I am
picking it up quick.

Sean




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]