[cairo] Pixel RGB Values...
David Björkevik
david at bjorkevik.se
Thu Jul 9 02:48:47 PDT 2009
Steril 707 wrote:
> I am working on a little image processing app, and would need to be
> able to get the RGB values of certain pixels on a surface. Is there
> any way to do that already with cairo at the moment? I cannot find
> anything in the API reference on that, so I thought I should ask you
> people here... And, if that's not possible, are there any plans for
> this to get implemented?
In your question you are making an assumption: that surfaces are made
out of pixels. This is certainly not always the case, for instance with
Postscript or PDF surfaces.
Perhaps you can give us some more info on what you want to achieve in
your application?
Regards,
David
More information about the cairo
mailing list