file_load


Description:


public unowned Image file_load (RunMode run_mode, File file)

Loads an image file by invoking the right load handler.

This procedure invokes the correct file load handler using magic if possible, and falling back on the file's extension and/or prefix if not. Note that the loaded image will be marked as clean.

Parameters:

run_mode

The run mode.

file

The file to load.

Returns:

The output image.


Namespace: Gimp
Package: gimp-3.0