pixbufFromFile
fn
gdkpixbuf.pixbuf.Pixbuf pixbufFromFile(string filename)Loads a new [gdkpixbuf.pixbuf.Pixbuf] from filename and returns it. The caller must assume the reference to the reurned pixbuf. If an error occurred, error is set and NULL is returned.
Parameters
filename | A file name |
Returns
A pixbuf, or null on error.
Throws
[ErrorWrap]
Deprecated
Use [rsvg.handle.Handle.newFromFile] and [rsvg.handle.Handle.renderDocument] instead.