[cairo] TIFF files

Andrew Cowie andrew at operationaldynamics.com
Thu Mar 15 23:30:34 PDT 2012

On Thu, 2012-03-15 at 14:04 -0700, Nadeem Afana wrote:
> How can I generate TIFF files using Cairo 

Write to a PNG and then convert? That would be with

Or if you wanted to stay in C you could maybe use
cairo_surface_write_to_png_stream() and then do something appropriate in
the (*cairo_write_func_t) callback.

There's probably a better way to get at the pixels than this.


More information about the cairo mailing list