[Gtk-sharp-list] Problem with Pixbuf

Olafur Arason olafura@hi.is
Sun, 25 Apr 2004 18:43:29 +0100


I'm trying to use the pixels functionality of Pixbuf and using 
p = pixels + y * rowstride + x * n_channels to get the color, but in
gtk-sharp the values are copied not linked. So the problem is that I
have is a copy of pixles not the direct Pixbuf image, so to get the data
into Pixbuf I have to have a cvs version of Pixbuf and do a 
pixbuf = new Pixbuf(-1, pixels,1) but this may be a stupit question but
I'm new to c# how do you change byte* to byte[].

Olafur Arason