pixbuf_from_file


Description:


[ Version ( deprecated = true ) ]
public Pixbuf? pixbuf_from_file (string filename) throws Error

Warning: pixbuf_from_file is deprecated.

Loads a new `GdkPixbuf` from filename and returns it.

Note:

Use [[email protected]_from_file] and [[email protected]_document] instead.

The caller must assume the reference to the reurned pixbuf. If an error occurred, throws is set and `NULL` is returned.

Parameters:

filename

A file name

Returns:

A pixbuf, or null on error.


Namespace: Rsvg
Package: librsvg-2.0



2022 vala-language.org