Transfers image data from a cairo_surface_t and converts it to an RGB(A)
representation inside a gdk.Pixbuf This allows you to efficiently read
individual pixels from cairo surfaces. For gdk.Windows, use
Pixbuf.getFromWindow instead.
This function will create an RGB pixbuf with 8 bits per channel.
The pixbuf will contain an alpha channel if the surface contains one.
Transfers image data from a cairo_surface_t and converts it to an RGB(A) representation inside a gdk.Pixbuf This allows you to efficiently read individual pixels from cairo surfaces. For gdk.Windows, use Pixbuf.getFromWindow instead.
This function will create an RGB pixbuf with 8 bits per channel. The pixbuf will contain an alpha channel if the surface contains one.