Re: 16 bits grayscale images



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/



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