Package: gdk-pixbuf

Function gdk-pixbuf-animation-new-from-resource

Lambda List

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

Arguments

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

Return Value

A newly-created animation, 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 animation by loading an image from an resource. The file format is detected automatically.
 

See also

2021-12-21