# Gimp.RunSaveFunc

    function onRunSaveFunc(procedure: Gimp.Procedure, run_mode: Gimp.RunMode, image: Gimp.Image, drawables: Array(Gimp.Drawable), file: Gio.File, args: Gimp.ValueArray): Gimp.ValueArray {
    }

The save function is run during the lifetime of the GIMP session, each time a plug-in save procedure is called.

Since 3.0

procedure

  the Gimp.Procedure that runs.

run_mode

  the Gimp.RunMode.

image

  the image to save.

drawables

  the drawables to save.

file

  the Gio.File to save to.

args

  the procedure's remaining arguments.

Returns

  the procedure's return values.