Pixbuf.newFromResource

gdkpixbuf.pixbuf.Pixbuf newFromResource(string resourcePath)

Creates a new pixbuf by loading an image from an resource.

The file format is detected automatically. If NULL is returned, then error will be set.

Parameters

resourcePaththe path of the resource file

Returns

A newly-created pixbuf

Throws

[ErrorWrap]