Package: gdk-pixbuf

Function gdk-pixbuf-new-from-resource

Lambda List

gdk-pixbuf-new-from-resource (path)

Arguments

path -- a string with the path of the resource file

Return Value

A newly created gdk-pixbuf object, or nil if any of several error conditions occurred: the file could not be opened, the image format is not supported, there was not enough memory to allocate the image buffer, the stream contained invalid data, or the operation was cancelled.

Details

Creates a new pixbuf by loading an image from a resource. The file format is detected automatically.
 

See also

2021-7-24