Using Imlib_save_image with pixmap/gdk-pixbuf



I would like to save either a pixmap or gdk-pixbuf in a BMP format.
Since there are no file saving functions available int gtk/gdk-pixbuf, I
am forced to use imlib.
I was thinking about using the following imlib function:

int Imlib_save_image(ImlibData *id, ImlibImage *im, char *file,
ImlibSaveInfo *info);

I am not quite sure on how to use this function.  Has anyone used the
above function, or any other imlib function, to save either a pixmap or
a pixbuf?
Thank you for your help.
--
Thomas Amsler

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






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