saving pixmap/pixbuf using gdk_imlib_save_image



I am still trying to figure out on how to save either a pixmap or a
pixbuf using the imlib function bellow.

gint gdk_imlib_save_image(GdkImlibImage *im, char *file,
GdkImlibSaveInfo *info);

I don't know what these parameters are and how I can extract the data
from a pixmap or a pixbuf to use this functions. I looked through the
imlib documentation but that is no help.
Any help is appreciated.

PS:  I know that there is a patch for gdk-pixbuf out that adds saving
capabilities.  I wonder what ever happen to it and if it will ever be
added to the current gdk-pixbuf source?

Thank you very much.
--

Thomas Amsler

"Imagination is more important than knowledge."
        --Albert Einstein






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