Gimp.ProcedureConfig.save_metadata

@accepts(Gimp.ProcedureConfig, Gimp.Image, Gio.File)
@returns(none)
def save_metadata(self, exported_image, file):
    # Python wrapper for gimp_procedure_config_save_metadata()
  

*Note: There is normally no need to call this function because it's already called by [class@ExportProcedure] after the `run()` callback.*

*Only use this function if the [class@Metadata] passed as argument of a [class@ExportProcedure]'s run() method needs to be written at a specific point of the export, other than its end.*

This function syncs back self's export properties to the metadata's [flags@MetadataSaveFlags] and writes the metadata to file.

The metadata is only ever written once. If this function has been called explicitly, it will do nothing when called a second time at the end of the `run()` callback.

Since 3.0

self

a Gimp.ProcedureConfig

exported_image

the image that was actually exported

file

the file exported_image was written to