[Glade-users] Image



Randal Leavitt wrote:
So, related to this - how does one display a GIF or JPEG file using
Glade?  Do I have to convert such files to Xpm format in order to
display them using GtkPixmap?  If so, how?

Yes, they need to be converted.  I usually use a manual process with
command line image conversion tools, or with an interactive image editor
such as The GIMP.  Imlib also springs to mind as a potential library you
may want to use, if it is necessary to do the conversion at run-time.

You could search the LXR source archive for GIF.

-- 
James Cameron                                      (cameron stl dec com)





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