[cairo] The past, present and future of RGB16_565

Jonathan Morton jonathan.morton at movial.com
Tue Jun 16 04:54:09 PDT 2009


On Tue, 2009-06-16 at 12:57 +0200, "J.A. Magallón" wrote:
> On 2009.06.16, at 12:03, Jonathan Morton wrote:
> 
> >
> > - The order of the components (usually one of RGB, BGR, ARGB, ABGR,
> > RGBA, BGRA, or just A), and if there is any padding, which end of the
> > word it goes (xRGB or RGBx).  This can be an extensible enum.
> 
> I have a suggestion about this, and about images in Cairo in general.
> I have developed an app related to image processing, that works
> with greyscale images. And I was surprised about how _difficult_
> is to handle grey (8bit) images in Cairo.

> Any special reason ? Could an 8bit (perhaps even 16bit) grey format
> - something like CAIRO_FORMAT_G8 - be added to Cairo ?

I don't see why not.

-- 
------
From: Jonathan Morton
      jonathan.morton at movial.com




More information about the cairo mailing list