1997
Josh MacDonald
Saves a file by extension.
This procedure invokes the correct file save handler according to the file's extension and/or prefix. The name of the file to save 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/ she 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), RUN-WITH-LAST-VALS (2) } |
PF_IMAGE | image | Input image |
PF_DRAWABLE | drawable | Drawable to save |
PF_VALUE | filename | The name of the file to save the image in |
PF_VALUE | raw-filename | The name as entered by the user |
None