Pixdata.fromPixbuf

Converts a gdk.Pixbuf to a gdkpixbuf.Pixdata If use_rle is TRUE, the pixel data is run-length encoded into newly-allocated memory and a pointer to that memory is returned.

More...
class Pixdata
void*
fromPixbuf

Parameters

pixbuf Pixbuf

the data to fill pixdata with.

useRle bool

whether to use run-length encoding for the pixel data.

Return Value

Type: void*

If use_rle is TRUE, a pointer to the newly-allocated memory for the run-length encoded pixel data, otherwise NULL.

Detailed Description

Deprecated: Use gio.Resource instead.