Method

GimpProcedureConfigsave_metadata

unstable since: 3.0

Declaration [src]

void
gimp_procedure_config_save_metadata (
  GimpProcedureConfig* config,
  GimpImage* exported_image,
  GFile* file
)

Description [src]

already called by GimpSaveProcedure at the end of the run() callback.

Only use this function if the GimpMetadata passed as argument of a GimpSaveProcedure‘s run() method needs to be written at a specific point of the export, other than its end.

This function syncs back configs export properties to the metadata’s GimpMetadataSaveFlags and writes the metadata to file using gimp_image_metadata_save_finish().

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.

Available since: 3.0

Parameters

exported_image

Type: GimpImage

The image that was actually exported.

The data is owned by the caller of the function.
file

Type: GFile

The file exported_image was written to.

The data is owned by the caller of the function.