Gimp.temp_file

function temp_file(extension: String): Gio.File {
    // Gjs wrapper for gimp_temp_file()
}
  

Generates a unique temporary file.

Generates a unique file using the temp path supplied in the user's gimprc.

extension

The extension the file will have.

Returns

The new temp file.