[Gtk-sharp-list] Setting pixels colors of a Pixbuf

Stephane SOPPERA stephane.soppera@free.fr
Wed, 05 Mar 2003 18:54:52 +0100


Hi,

I want to store a computed picture to a file under linux using mono.
Since System.Drawing.Bitmap is not yet implemented, I though I could use
Gdk.Pixbuf.
But I failed to create a Pixbuf from datas in a byte[] (mcs says that
the corresponding constructor does not exist) and I also failed to find
a function that will set the color of a given pixel.

How can I store a computed picture in a file with Gdk.Pixbuf?

(I'm using Mono v0.21 abd gtk# v8.0)

Thanks in advance,

-- 
Stephane SOPPERA
http://stephane.soppera.free.fr