[cairo] Using cairo to draw into a image and save it
jody
jody.xha at gmail.com
Wed Mar 10 23:58:51 PST 2010
Update:
I found the Cairo::ImageSurface, and now i can save the drawings
alone to a PNG Image - but how can i combine these drawings with the
loaded image before saving it?
Thank You
Jody
On Thu, Mar 11, 2010 at 8:36 AM, jody <jody.xha at gmail.com> wrote:
> Hi
> I would like to be able to save cairo drawings on an image to a PNG file.
>
> What i have written so far is code loading and displaying an image,
> which can be painted on using cairomm (i simply use the window
> on which the image is displayed as cairo context).
> I also have code using the PNG library to create PNG images
> from an array of values.
>
> Is there a possibility to either get cairo to do paintings into
> some sort of array (which i could write to a PNG file)?
>
> Or is there some other eay to achieve this?
>
> Thank You
> Jody
>
More information about the cairo
mailing list