Hello Z.Z.

Why don't you use gdk_pixbuf_get_pixels(const GdkPIxbuf* pixbuf)?

this function returns the pointer value of raw data.

you may be able to access the raw data directly.

BR. Rubric

2009/5/13 Z.Z. <[email protected]>

>
> Hello,
> I am using gdk-pixbuf-0.22 and have a problem:
> How can I update the pixbuf raw data?
> There Is a pixbuf constructed from an Image file, I want to change raw data
> behind It and upload new data back to pixbuf. I am using the
> "gdk_pIxbuf_save_to_buffer" for accessing raw data, but I don't know how to
> upload the buffer back to the pIxbuf!
> Thanks, in advance,
> Zahra Zojaji
>
> --
> View this message in context:
> http://www.nabble.com/How-to-update-Gdk-Pixbuf-raw-data--tp23517225p23517225.html
> Sent from the Gtk+ - General mailing list archive at Nabble.com.
>
> _______________________________________________
> gtk-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to