# Gimp.file_save

    @accepts(Gimp.RunMode, Gimp.Image, int, [Gimp.Item], Gio.File)
    @returns(bool)
    def file_save(run_mode, image, num_drawables, drawables, file):
        # Python wrapper for gimp_file_save()

Saves a file by extension.

This procedure invokes the correct file save handler according to the file's extension and/or prefix.

run_mode

  The run mode.

image

  Input image.

num_drawables

  The number of drawables to save.

drawables

  Drawables to save.

file

  The file to save the image in.

Returns