Gimp.Layer.prototype.resize_to_image_size

function resize_to_image_size(): Boolean {
    // Gjs wrapper for gimp_layer_resize_to_image_size()
}
  

Resize a layer to the image size.

This procedure resizes the layer so that it's new width and height are equal to the width and height of its image container.

Returns

TRUE on success.