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.
| run_mode |
The run mode. |
| file |
The file to load. |
|
The output image. |