On Thu, Sep 27, 2007 at 04:45:10PM +0200, alex wrote:
> I want to create a grayscale image from a CCD camera.
> Data are from a function wich gives me an 16 bits array corresponding to
> the CCD's pixels.
> I take a look at the pixbuf class, but it seems to use a RGB structure.
> How can I do my job ?

If you don't expect the graphics system to be actually
capable of displaying 16bpc images, it is easiest to just
convert the data to 8bpp RGB (which is a trivial operation).

Yeti

--
http://gwyddion.net/
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to