Gimp.RunThumbnailFunc

function onRunThumbnailFunc(procedure: Gimp.Procedure, file: Gio.File, size: Number(gint), args: Gimp.ValueArray): Gimp.ValueArray {
}
  

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

Since 3.0

procedure

the Gimp.Procedure that runs.

file

the Gio.File to load the thumbnail from.

size

the requested thumbnail size.

args

the procedure's remaining arguments.

Returns

the procedure's return values.