Function
Gimpfile_save
Declaration [src]
gboolean
gimp_file_save (
GimpRunMode run_mode,
GimpImage* image,
gint num_drawables,
const GimpItem** drawables,
GFile* file
)
Description [src]
Saves a file by extension.
This procedure invokes the correct file save handler according to the file’s extension and/or prefix.
Parameters
run_mode-
Type:
GimpRunModeThe run mode.
image-
Type:
GimpImageInput image.
The data is owned by the caller of the function. num_drawables-
Type:
gintThe number of drawables to save.
drawables-
Type: An array of
NoneDrawables to save.
The length of the array is specified in the num_drawablesargument.The data is owned by the caller of the function. file-
Type:
GFileThe file to save the image in.
The data is owned by the caller of the function.