How to display an image array?



Hi dear all:

Now I have a image array, char * data. I know this array's length( image's width and height) and array's format( RGB 32bits for a pixel or Grayscale leve 8bits for a pixel).

My question is how can I display this image array by using gtkmm?

I have tried using Gtk::Pixbuf  pixbuf.create_from_data().

But it is not good for me. Is there any example codes?

Thanks a lot!!

simba


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]