[ Version ( since = "2.2" ) ]
public Pixbuf generate_thumbnail (string uri, string mime_type)
Tries to generate a thumbnail for the specified file.
If it succeeds it returns a pixbuf that can be used as a thumbnail.
Usage of this function is threadsafe and does blocking I/O.
| this | |
| uri |
the uri of a file |
| mime_type |
the mime type of the file |
| cancellable |
a Cancellable object or NULL |
|
thumbnail pixbuf if thumbnailing succeeded, null otherwise and error will be set |