Gimp.ExportProcedure.prototype.set_support_xmp
function set_support_xmp(supports: Boolean): void {
// Gjs wrapper for gimp_export_procedure_set_support_xmp()
}
Determine whether procedure supports exporting XMP data. By default, it won't (so there is usually no reason to run this function with false).
This will have several consequences:
- Automatically adds a standard auxiliary argument "save-xmp" in the end of the argument list of procedure, with relevant blurb and description. - If used with other gimp_export_procedure_set_support_*() functions, they will always be ordered the same (the order of the calls don't matter), keeping all export procedures consistent. - Generated GimpExportProcedureDialog will contain the metadata options, once again always in the same order and with consistent GUI style across plug-ins. - API from [class@ProcedureConfig] will automatically process these properties to decide whether to export a given metadata or not.
Note that since this is an auxiliary argument, it won't be part of the PDB arguments. By default, the value will be [func@export_xmp].
Since 3.0
- supports
whether XMP metadata are supported.