set_from_file


Description:

public bool set_from_file (string filename) throws Error

Set the image data from an image file.

In case of failure, false is returned and error is set.

Parameters:

this

An Image

filename

Filename to read the file from

Returns:

true if the image was successfully updated




2022 vala-language.org