RunExportFunc


Description:

[ CCode ( instance_pos = 7.9 ) ]
[ Version ( since = "3.0" ) ]
public delegate ValueArray RunExportFunc (Procedure procedure, RunMode run_mode, Image image, File file, ExportOptions options, Metadata metadata, ProcedureConfig config)

The export function is run during the lifetime of the GIMP session, each time a plug-in export procedure is called.

If a MimeType was passed in ExportProcedure, then metadata will be non-null and can be tweaked by the run function if needed. Otherwise you can let it as-is and it will be stored back into the exported file according to rules on metadata export shared across formats.

Parameters:

procedure

the Procedure that runs.

run_mode

the RunMode.

image

the image to export.

file

the File to export to.

options

the ExportOptions settings.

metadata

metadata object prepared for the mimetype passed in set_mime_types if export_metadata argument was set in ExportProcedure.

config

the procedure's remaining arguments.

run_data

the run_data given in ExportProcedure.

Returns:

the procedure's return values.


Namespace: Gimp
Package: gimp-3.0