Re: TIFF files

Andrew Cowie <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Operational Dynamics
Message-ID <1331879434.1919.19.camel@turminder-xuss.roaming.operationaldynamics.com>
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
cairo_surface_write_to_png().

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.

AfC



--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.