Function

Shell-18Shellutil_create_pixbuf_from_data

  • Workaround for non-introspectability of gdk_pixbuf_from_data().

    Parameters

    • data: string | Uint8Array<ArrayBufferLike>
    • colorspace: RGB
    • has_alpha: boolean
    • bits_per_sample: number
    • width: number
    • height: number
    • rowstride: number

    Returns GdkPixbuf.Pixbuf