2010/9/3 Andrew Cowie <and...@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 cairo_image_surface_get_data(). 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, z...@iki.fi Powered by http://movial.com Interesting stuff at http://sandbox.movial.com See also http://syslog.movial.fi _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list