Re: pixbuf grey level data
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-list gnome org
- Subject: Re: pixbuf grey level data
- Date: Mon, 4 Sep 2006 12:27:10 +0200
On Mon, Sep 04, 2006 at 12:21:00PM +0200, Sylvia Lopez wrote:
> I have to put a grey level image (array[100][100] who contains values
> between 0 255) in a pixbuf, i'm trying to use gdk_pixbuf_from_data, but
> it doesnt work.
[cite]
Creates a new GdkPixbuf out of in-memory image data.
Currently only RGB images with 8 bits per sample are
supported.
[/cite]
> someone can help me please
Create a new pixbuf of the right dimensions and copy each
value from the grey image thrice (for R, G, B) there.
Yeti
--
Anonyms eat their boogers.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]