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

Re: Access image in a GdkPixmap



On Sun, Jun 20, 1999 at 06:07:48PM +0200, David Sagnol wrote:
>  Hi,
>  
> I'm wondering if there is a solution to access the array representing 
> the image in a GdkPixmap. I would like to extract each pixel of this 
> pixmap.

Not sure about this one, but i guess you have to get the image
corresponding to the pixmap, (with window_get_image or something
like that, windows and pixmap are more or less the same thing i
think) and then use image_get_pixel on it. It will give you back the
colormap index you got back when you allocated the color.

Friendly,

Sven LUTHER



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