Re: pixbuf<->cairo_surface_t conversion

2010/9/3 Andrew Cowie <andrew operationaldynamics com>
> We can kiss gdk_pixbuf_get_pixels() goodbye, no problem, but I'm just
> curious what someone would replace it with... draw to a Cairo image
> surface, save that to a PNG and then load it and... oh wait. :)

You can get the pixels from the cairo image surface with

It wouldn't make sense to alias these two since the stored formats are
not compatible so code needs to adapt to it anyway.

Btw, just to state the obvious, this stuff rocks :)

Kalle Vahlman, zuh iki fi
Powered by
Interesting stuff at
See also

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]