Functions

pixbuf_from_pixdata (pixdata, copy_pixels)

Details

GdkPixdata.pixbuf_from_pixdata(pixdata, copy_pixels)[source]
Parameters:
Raises:

GLib.Error

Returns:

a new pixbuf

Return type:

GdkPixbuf.Pixbuf

Converts a GdkPixdata to a GdkPixbuf.

If copy_pixels is TRUE or if the pixel data is run-length-encoded, the pixel data is copied into newly-allocated memory; otherwise it is reused.

Deprecated since version 2.32: Use GResource instead.