Re: Display grayscale image

2007-09-03 Thread Marco Brambilla
Thank you very much for your advises, guys! I'm going to try immediately. Bramb -- Marco Brambilla Politecnico di Milano - Dipartimento di Fisica Piazza L. Da Vinci, 32 - 20133, Milano - Italy Tel: 02 2399 6058 Fax: 02 2399 6126 e-mail: [EMAIL PROTECTED]

Re: Display grayscale image

2007-08-31 Thread jcupitt
On 8/31/07, Jim George <[EMAIL PROTECTED]> wrote: > On 8/30/07, Marco Brambilla <[EMAIL PROTECTED]> wrote: > > Is there a easy way of displaying such an image "as is" (single channel) ? > > Or must I convert it each pixel to > > the a RGB triplet needed by gtk_pixbuf_new_from_data ? > > You could

Re: Display grayscale image

2007-08-30 Thread Jim George
On 8/30/07, Marco Brambilla <[EMAIL PROTECTED]> wrote: > Hello everybody, > > Firs of all I'm a newbye both to GTK and to this mailing list, so I apologize > for the triviality of the post. > I'm writing a very simple application (language: C) which should grab frames > from a ccd camera and show