[cairo] how to change pixel color of a image surface
Gerdus van Zyl
gerdusvanzyl at gmail.com
Mon May 19 03:33:18 PDT 2008
My suggestion would be to use cairo_image_surface_get_data. You can
then inspect the pixels directly and modify.
On Mon, May 19, 2008 at 10:45 AM, Chandra Shekhar Sengupta
<sayan801 at gmail.com> wrote:
> I am creating a image surface from a image file and trying to change the pixel color of the image surface. Let's say i want to replace all the white colored pixel with blue color. Is it possible using cairo?
> Thanks & Regards,
> Chandra Shekhar Sengupta
> cairo mailing list
> cairo at cairographics.org
More information about the cairo