Functions#
- pixbuf_from_pixdata(pixdata: Pixdata, copy_pixels: bool) Pixbuf#
Converts a
GdkPixdatato aGdkPixbuf.If
copy_pixelsisTRUEor 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
GResourceinstead.- Parameters:
pixdata – a
Pixdatato convert into aGdkPixbuf.copy_pixels – whether to copy raw pixel data; run-length encoded pixel data is always copied.
- Returns:
a new pixbuf