[Mono-list] Raw graphics data to a Gtk# control

Sijmen Mulder sjmulder@gmail.com
Thu, 21 Apr 2005 08:54:41 +0200


Hi,

I'm looking for a way to get my raw image data onto a Gtk# control, as 
output. The data can be in many formats. As far as I have found out, 
there might be 3 ways to do this:

1. Make Gtk# use my pointer, which could make it very fast, because the 
data might not have to be copied;
2. Transfer all pixels into a Bitmap object, sounds very slow;
3. Somehow find a way so that Gtk# can read the raw image data through a 
*Stream or *Reader, no idea how this would work though.

Which way would be recommended to implement this? And how?

Thanks for any info,
Sijmen Mulder