Gimp.LoadProcedure.prototype.set_thumbnail_loader

function set_thumbnail_loader(thumbnail_proc: String): void {
    // Gjs wrapper for gimp_load_procedure_set_thumbnail_loader()
}
  

Associates a thumbnail loader with a file load procedure.

Some file formats allow for embedded thumbnails, other file formats contain a scalable image or provide the image data in different resolutions. A file plug-in for such a format may register a special procedure that allows GIMP to load a thumbnail preview of the image. This procedure is then associated with the standard load procedure using this function.

Since 3.0

thumbnail_proc

The name of the thumbnail load procedure.