How can convert GdkImage to GdkPixbuf



I want to know if exist a easy way and efficient to convert
a GdkImage to GdkPixbuf.I want to know how is the 
gpointer *mem of the struct GdkImage. I try 

gdk_pixbuf_new_from_data((guchar *)mem, ...

and give me error.

Thanks.

--------------------------
Gonzalo Montesdeoca Zamora
     Santa Brigida
       Canarias
--------------------------

 ___________________________________________________________________ 
Consigue tu e-mail gratuito TERRA.ES
 Haz clic en http://www.terra.es/correo/





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