[cairo] Saving surface as Jpeg

Dominic Lachowicz domlachowicz at gmail.com
Fri May 1 07:27:16 PDT 2009


You can get the width, height, stride, format, and ARGB "raster" data,
which will probably need to be transformed into what libjpeg expects.

On Fri, May 1, 2009 at 10:11 AM, Angus March <angus at uducat.com> wrote:
> I have a Cairo surface that I want to be able to save as Jpeg. I can use
> libjpeg for this, but I need to get the image as raster data, and I
> haven't been able to figure out how to do that from the manual.
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo

Mediocrity knows nothing higher than itself; but talent instantly
recognizes genius.

More information about the cairo mailing list