Functions ========= .. currentmodule:: gi.repository.GdkPixdata .. function:: pixbuf_from_pixdata(pixdata: ~gi.repository.GdkPixdata.Pixdata, copy_pixels: bool) -> ~gi.repository.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:: 2.32 Use ``GResource`` instead. :param pixdata: a :obj:`~gi.repository.GdkPixdata.Pixdata` to convert into a ``GdkPixbuf``\. :param copy_pixels: whether to copy raw pixel data; run-length encoded pixel data is always copied. :return: a new pixbuf