1997
Josh MacDonald
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. The name of the file to load is typically a full pathname, and the name entered is what the user actually typed before prepending a directory path. The reason for this is that if the user types http://www.xcf/~gimp/ he wants to fetch a URL, and the full pathname will not look like a URL."
unknown
Type | Name | Description |
---|---|---|
PF_INT | run-mode | The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) } |
PF_VALUE | filename | The name of the file to load |
PF_VALUE | raw-filename | The name as entered by the user |
Type | Name | Description |
---|---|---|
PF_IMAGE | image | The output image |