Re: How to update Gdk-Pixbuf raw data?

2009-05-18 Thread Rubric
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. 

>
> 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
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


How to update Gdk-Pixbuf raw data?

2009-05-14 Thread Z.Z.

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
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list