Bitmap.from_file


Description:

public Bitmap.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 Bitmap to the new loaded image data, or null if loading the image failed.