Method

GimpExportProcedureset_support_profile

since: 3.0

Declaration [src]

void
gimp_export_procedure_set_support_profile (
  GimpExportProcedure* procedure,
  gboolean supports
)

Description [src]

Determine whether procedure supports exporting ICC color profiles. 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-color-profile” 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 GimpProcedureConfig 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 gimp_export_color_profile().

Available since: 3.0

Parameters

supports

Type: gboolean

Whether color profiles can be stored.