Pixdata.gdkPixbufFromPixdata

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.

class Pixdata
gdkPixbufFromPixdata

Parameters

copyPixels int

whether to copy raw pixel data; run-length encoded pixel data is always copied.

Return Value

Type: Pixbuf

a new GdkPixbuf. [transfer full]

Throws

GException on failure.

Meta