Filters the metadata retrieved from the image with [method@Gimp.
Image.metadata_save_prepare], taking into account the passed flags.
*Note: There is normally no need to call this function because it's already called by [class@ExportProcedure] after the `run()` callback.*
Note that the this passed to this function might be different from the image passed to `gimp_image_metadata_save_prepare()`, due to whatever file export conversion happened in the meantime
This can be used as an alternative to core metadata handling when you want to save metadata yourself and you need only filtering processing.
| this |
The actually saved image |
| mime_type |
The saved file's mime-type |
| metadata |
The metadata to export |
| flags |
Flags to specify what of the metadata to save |
| file |
The file this was saved to or NULL if file was not saved yet |
|
Filtered metadata or null in case of failure. Use [GObject.Object.unref] when returned metadata are no longer needed |