2010-09-27 3 views

Répondre

1

oui, jetez un oeil à la fonction:

gdk_pixbuf_new_from_data() 

GdkPixbuf *   gdk_pixbuf_new_from_data   (const guchar *data, 
                 GdkColorspace colorspace, 
                 gboolean has_alpha, 
                 int bits_per_sample, 
                 int width, 
                 int height, 
                 int rowstride, 
                 GdkPixbufDestroyNotify destroy_fn, 
                 gpointer destroy_fn_data); 

(Dans les docs)

+0

merci pour votre réponse ... mais la définition de cette fonction dit qu'il peut afficher 8bits par pixel seulement .... Et si nous avons plus de 8 bits par pixel? Avons-nous un moyen de sortir? – linuxnewbie

Questions connexes