Gimp.FileProcedure.prototype.set_format_name

function set_format_name(format_name: String): void {
    // Gjs wrapper for gimp_file_procedure_set_format_name()
}
  

Associates a format name with a file handler procedure.

This name can be used for any public-facing strings, such as graphical interface labels. An example usage would be %GimpExportProcedureDialog title looking like "Export Image as %s".

Note that since the format name is public-facing, it is recommended to localize it at runtime, for instance through gettext, like:

```c gimp_file_procedure_set_format_name (procedure, _("JPEG")); ```

Some language would indeed localize even some technical terms or acronyms, even if sometimes just to rewrite them with the local writing system.

Since 3.0

format_name

A public-facing name for the format, e.g. "PNG".