Gdk::Pixbuf



Hi..

I want some info about Gdk::Pixbuf::get_pixels(). 

1) I need pixel values of an image, my question is in what format (RGB
or something else) are the values in the buffer returned by
get_pixels()? And the values are in which order (rgb, row-wise, etc.)?

2) The function is const, does it mean that the buffer I get is a copy
of the buffer held by Gdk::Pixbuf? In that case, I guess I will need
to clean it up myself.

Thanks
Ramashish



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