Gimp.file_save_thumbnail
function file_save_thumbnail(image: Gimp.Image, file: Gio.File): Boolean {
// Gjs wrapper for gimp_file_save_thumbnail()
}
Saves a thumbnail for the given image
This procedure saves a thumbnail for the given image according to the Free Desktop Thumbnail Managing Standard. The thumbnail is saved so that it belongs to the given file. This means you have to save the image under this name first, otherwise this procedure will fail. This procedure may become useful if you want to explicitly save a thumbnail with a file.
- image
The image.
- file
The file the thumbnail belongs to.
- Returns
TRUE on success.