new_from_file


Description:

public static Bitmap new_from_file (string filename) throws Error

Loads an image file from disk.

This function can be safely called from within a thread.

Parameters:

filename

the file to load.

Returns:

a CoglBitmap to the new loaded image data, or null if loading the image failed.




2022 vala-language.org