Package: gdk-pixbuf

Function gdk-pixbuf:pixbuf-file-info-async

Lambda List

gdk-pixbuf:pixbuf-file-info-async (path cancellable func)

Arguments

path -- a pathname or namestring with the file to identify
cancellable -- a g:cancellable object, or nil to ignore
func -- a g:async-ready-callback callback function to call when the pixbuf is loaded

Details

Asynchronously parses an image file far enough to determine its format and size. For more details see the gdk-pixbuf:pixbuf-file-info function, which is the synchronous version of this function.

When the operation is finished, the func callback function will be called in the main thread. You can then call the gdk-pixbuf:pixbuf-file-info-finish function to get the result of the operation.
 

See also

2024-5-30