[cairo] Saving a cairo surface to a file

Meryl Silverburgh silverburgh.meryl at gmail.com
Tue Jan 24 14:04:00 PST 2006


I am calling cairo_surface_write_to_png() to a file.
Sometimes, I see content in the 'png', while other times I don't.

Can you please provide some ideas to trouble shoot this problem?  Thank you.

 cairo_surface_write_to_png(aCairoSurf, "result.png");

More information about the cairo mailing list