Loading image types other than xpm/xbm
- From: "Sean Cody" <umcodysw cc UManitoba CA>
- To: <gtk-list redhat com>
- Subject: Loading image types other than xpm/xbm
- Date: Fri, 3 Sep 1999 13:48:52 -0500
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]